From c51c87e2a6a51ec1ed549dfc6c3a257ac9005272 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 12 Apr 2011 13:57:00 +0200 Subject: [PATCH 1/2] Changed precision+Fix script generation --- mytools/gslIntegrate.hpp | 2 +- vozinit.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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); From 726f9048bff649e1cdfac185c9cd259bed06c9c3 Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 13 Apr 2011 11:58:58 +0200 Subject: [PATCH 2/2] Fixed distortion computation, added edge avoidance parameter for stacking