lesgourg / class_public

Public repository of the Cosmic Linear Anisotropy Solving System (master for the most recent version of the standard code; GW_CLASS to include Cosmic Gravitational Wave Background anisotropies; classnet branch for acceleration with neutral networks; ExoCLASS branch for exotic energy injection; class_matter branch for FFTlog)
225 stars 282 forks source link

Problem with comoving_distance(z) #495

Open JP-Bonifacio opened 1 year ago

JP-Bonifacio commented 1 year ago

Hello,

I'm using the latest version of Class, but everytime I try to use "comoving_distance(z)" function I receive an error message:

"--------------------------------------------------------------------------- AttributeError Traceback (most recent call last)

in AttributeError: 'classy.Class' object has no attribute 'comoving_distance' " What should I do?
schoeneberg commented 1 year ago

Dear @JoaoBoni , Hopefully the problem is resolved in your case by now. I could not reproduce it with the most up-to-date class version. Did you recompile with "make clean" and "make -j", having put the correct python version in your makefile?