Commit de7d9d7e authored by lesgourg's avatar lesgourg
Browse files

polished version of 2.6.2, restoring compatibility with python 3

* 2.6:
  version number changed to 2.6.3
  modified the recent fix in setup.py to keep compatibility with python 3
  added sigma8 in explanatory.ini
parents db1589b9 fb19e3eb
......@@ -480,10 +480,11 @@ P_k_ini type = analytic_Pk
k_pivot = 0.05
2.a.2) scalar adiabatic perturbations: curvature power spectrum value at pivot scale ('A_s' or 'ln10^{10}A_s'), tilt at the same scale 'n_s', and tilt running 'alpha_s' (default: set 'A_s' to 2.215e-9, 'n_s' to 0.9619, 'alpha_s' to 0)
2.a.2) scalar adiabatic perturbations: curvature power spectrum value at pivot scale ('A_s' or 'ln10^{10}A_s') OR 'sigma8' (found by iterations using a shooting method), tilt at the same scale 'n_s', and tilt running 'alpha_s' (default: set 'A_s' to 2.215e-9, 'n_s' to 0.9619, 'alpha_s' to 0)
A_s = 2.215e-9
#ln10^{10}A_s = 3.0980
# sigma8 = 0.848365
n_s = 0.9619
alpha_s = 0.
......
......@@ -15,7 +15,7 @@
#ifndef __COMMON__
#define __COMMON__
#define _VERSION_ "v2.6.2"
#define _VERSION_ "v2.6.3"
/* @cond INCLUDE_WITH_DOXYGEN */
#define _TRUE_ 1 /**< integer associated to true statement */
......
......@@ -17,7 +17,7 @@ liblist = ["class"]
MVEC_STRING = sbp.Popen(
['gcc', '-lmvec'],
stderr=sbp.PIPE).communicate()[1]
if "library not found" not in MVEC_STRING:
if b"mvec" not in MVEC_STRING:
liblist += ["mvec","m"]
# Recover the CLASS version
......
......@@ -367,7 +367,7 @@ int nonlinear_halofit(
double k_integrand;
double lnpk_integrand;
double x2,R;
double R;
class_alloc(pvecback,pba->bg_size*sizeof(double),pnl->error_message);
......
......@@ -2614,7 +2614,7 @@ int spectra_pk(
int index_ic1,index_ic2,index_ic1_ic1,index_ic2_ic2,index_ic1_ic2;
int index_k;
int index_tau;
int delta_index_nl;
int delta_index_nl=0;
double * primordial_pk; /* array with argument primordial_pk[index_ic_ic] */
double source_ic1;
double source_ic2;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment