fix: fix bad C instructions for modern compiler

This commit is contained in:
Guilhem Lavaux 2025-07-02 14:01:53 +02:00
parent b68bc67451
commit 328cd77336
4 changed files with 5 additions and 6 deletions

View file

@ -542,7 +542,7 @@ double func_central_density(double m)
*/
double number_weighted_halo_mass()
{
double funcxx1();
double funcxx1(double);
return(qromo(funcxx1,log(HOD.M_low),log(HOD.M_max),midpnt)/GALAXY_DENSITY);
}
double funcxx1(double m)
@ -556,7 +556,7 @@ double funcxx1(double m)
*/
double number_weighted_central_mass()
{
double funcxx2();
double funcxx2(double);
return(qromo(funcxx2,log(HOD.M_low),log(HOD.M_max),midpnt)/
qromo(func_central_density,log(HOD.M_low),log(HOD.M_max),midpnt));
}