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

Some change in background.c #190

Open nsasanka opened 6 years ago

nsasanka commented 6 years ago

double dV_e_scf(struct background *pba, double phi ) { double scf_lambda = pba->scf_parameters[0]; // double scf_alpha = pba->scf_parameters[1]; // double scf_A = pba->scf_parameters[2]; // double scf_B = pba->scf_parameters[3];

return -scf_lambda*V_scf(pba,phi); }

double ddV_e_scf(struct background *pba, double phi ) { double scf_lambda = pba->scf_parameters[0]; // double scf_alpha = pba->scf_parameters[1]; // double scf_A = pba->scf_parameters[2]; // double scf_B = pba->scf_parameters[3];

return pow(-scf_lambda,2)*V_scf(pba,phi); }

shouldn't the last statement in both the functions be having a V_e_scf than a V_scf? Or am I wrong about something?

snesseris commented 12 months ago

I also just noticed that, I agree it should be V_e_scf rather than V_scf.