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

@ -32,7 +32,7 @@ double xi_interp(double r)
static int flag=0,prev_cosmo=0;
static double *x,*y,*y2;
int n=30,i,j;
double a,xi_int(),rhi=95,rlo=0.1,dlogr,klo,s1,s2,tolerance=1.0e-6;
double a,rhi=95,rlo=0.1,dlogr,klo,s1,s2,tolerance=1.0e-6;
if(!flag || RESET_COSMOLOGY!=prev_cosmo)
{
@ -99,7 +99,7 @@ double xi_linear_interp(double r)
static double *x,*y,*y2;
int n=100,i;
double a,rlo=0.1,rhi=150,dlogr,klo;
double xi_linear_int();
double xi_linear_int(double);
if(!flag || RESET_COSMOLOGY!=prev_cosmo)
{