mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-05 07:41:11 +00:00
fix: fix bad C instructions for modern compiler
This commit is contained in:
parent
b68bc67451
commit
328cd77336
4 changed files with 5 additions and 6 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue