Update nu P(k) tests to cover largest k value in benchmark (makes the tests fail).
@@ -27,7 +27,6 @@ CTEST_SETUP(power_nu) {
data->h = 0.7;
data->A_s = 2.1e-9;
data->n_s = 0.96;
- data->sigma_8=0.8;
data->Neff=3.046;
data->mnu_type =ccl_mnu_list;
@@ -81,7 +80,6 @@ CTEST_SETUP(power_nu_nl) {
data->h = 0.7;
data->A_s = 2.1e-9;
data->n_s = 0.96;
- data->sigma_8=0.8;
data->Neff=3.046;
data->mnu_type =ccl_mnu_list;
@@ -164,7 +162,7 @@ static void compare_power_nu(int i_model,struct power_nu_data * data)
fprintf(stderr,"Error opening file %s\n",fname);
exit(1);
}
- nk=linecount(f)-1; rewind(f);
+ nk=linecount(f); rewind(f);
double k=0.,pk_bench=0.,pk_ccl,err, k_h, pk_h;
double z=0.; //Other redshift checks are possible but not currently implemented
@@ -229,7 +227,7 @@ static void compare_power_nu_nl(int i_model,struct power_nu_nl_data * data)
fprintf(stderr,"Error opening file %s\n",fname_nl);
exit(1);
}
- nk_nl=linecount(f_nl)-1; rewind(f_nl);
+ nk_nl=linecount(f_nl); rewind(f_nl);
double k=0.,pk_bench=0.,pk_ccl,err, k_h, pk_h;
double z=0.; //Other redshift checks are possible but not currently implemented
