diff --git a/mytools/gslIntegrate.hpp b/mytools/gslIntegrate.hpp index f3f2dd3..4300085 100644 --- a/mytools/gslIntegrate.hpp +++ b/mytools/gslIntegrate.hpp @@ -22,7 +22,7 @@ double gslIntegrate(FunT& v, double a, double b, double prec, int NPTS = 1024) f.function = &gslSpecialFunction; f.params = &v; - gsl_integration_qag(&f, a, b, 0, prec, NPTS, GSL_INTEG_GAUSS61, + gsl_integration_qag(&f, a, b, prec, 0, NPTS, GSL_INTEG_GAUSS61, w, &result, &abserr); gsl_integration_workspace_free(w); diff --git a/vozinit.c b/vozinit.c index 8b3db6c..0995e33 100644 --- a/vozinit.c +++ b/vozinit.c @@ -148,6 +148,7 @@ int main(int argc, char *argv[]) { } } } + fprintf(scr,"wait\n"); fprintf(scr,"./voztie %d %s\n",numdiv,suffix); fclose(scr);