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)
230 stars 285 forks source link

possible bug in perturb_total_stress_energy #313

Closed emiliobellini closed 4 years ago

emiliobellini commented 4 years ago

Hi all, in older version there was a local variable defined perturb_total_stress_energy called "rho_plus_p_tot". Now this variable has been defined in the perturb workspace ppw. The problem is that in the latest version of Class we have a mixed use of "rho_plus_p_tot" and "ppw->rho_plus_p_tot", and I think that everything should be "ppw->rho_plus_p_tot".

Cheers, Emilio

lesgourg commented 4 years ago

Many thanks Emilio for noticing this! This is now corrected in 2.9.2. Your help is very much appreciated. Best, Julien