set condition in ccl_run_class to free CLASS spectra structures
@@ -220,6 +220,7 @@ static void ccl_run_class(ccl_cosmology *cosmo,
sprintf(cosmo->status_message ,"ccl_power.c: ccl_cosmology_compute_power_class(): Error running CLASS spectra:%s\n",sp->error_message);
return;
}
+ init_arr[i_init++]=1;
}
static double ccl_get_class_As(ccl_cosmology *cosmo, struct file_content *fc, int position_As,
