Fix bug in sample_run to pass check-cpp check
@@ -116,10 +116,14 @@ int main(int argc,char **argv)
}
*/
- int *ells=malloc(NL*sizeof(int));
- double *cells_ll_limber=malloc(NL*sizeof(double));
- double *cells_gl_limber=malloc(NL*sizeof(double));
- double *cells_gg_limber=malloc(NL*sizeof(double));
+ //int *ells=malloc(NL*sizeof(int));
+ //double *cells_ll_limber=malloc(NL*sizeof(double));
+ //double *cells_gl_limber=malloc(NL*sizeof(double));
+ //double *cells_gg_limber=malloc(NL*sizeof(double));
+ int ells[NL];
+ double cells_ll_limber[NL];
+ double cells_gl_limber[NL];
+ double cells_gg_limber[NL];
for(int ii=0;ii<NL;ii++)
ells[ii]=ii;
