]> git.treefish.org Git - cubaint.git/blobdiff - cubaint.cpp
Adapted to new cuba interface
[cubaint.git] / cubaint.cpp
index 9c9fef3af04da39b00b37bac79681d7de48bc691..cca1faa01417355923b53c9cd1a1441ac7910e52 100644 (file)
@@ -53,8 +53,9 @@ int cubaint::_integrate (integrandtype integrand, const intmethod& IntMethod,
           Options.epsrel, Options.epsabs,
           Options.flags | verbosity, Options.seed,
           Options.mineval, Options.maxeval,
-          Options.Suave.nnew, Options.Suave.flatness,
-          Options.statefile,
+          Options.Suave.nnew, Options.Suave.nmin,
+          Options.Suave.flatness,
+          Options.statefile, Options.spin,
           &nregions, &neval, &fail,
           reinterpret_cast<double*>(integral), 
           reinterpret_cast<double*>(error), 
@@ -74,7 +75,7 @@ int cubaint::_integrate (integrandtype integrand, const intmethod& IntMethod,
             Options.Divonne.ngiven, Options.Divonne.ldxgiven, 
             Options.Divonne.xgiven,
             Options.Divonne.nextra, Options.Divonne.peakfinder,
-            Options.statefile,
+            Options.statefile, Options.spin,
             &nregions, &neval, &fail,
             reinterpret_cast<double*>(integral), 
             reinterpret_cast<double*>(error), 
@@ -88,7 +89,7 @@ int cubaint::_integrate (integrandtype integrand, const intmethod& IntMethod,
           Options.flags | verbosity, Options.seed,
           Options.mineval, Options.maxeval,
           Options.Vegas.nstart, Options.Vegas.nincrease, Options.Vegas.nbatch,
-          Options.Vegas.gridno, Options.statefile,
+          Options.Vegas.gridno, Options.statefile, Options.spin,
           &neval, &fail,
           reinterpret_cast<double*>(integral), 
           reinterpret_cast<double*>(error), 
@@ -101,7 +102,7 @@ int cubaint::_integrate (integrandtype integrand, const intmethod& IntMethod,
           Options.epsrel, Options.epsabs,
           Options.flags, Options.mineval, Options.maxeval,
           Options.Cuhre.key,
-          Options.statefile,
+          Options.statefile, Options.spin,
           &nregions, &neval, &fail,
           reinterpret_cast<double*>(integral), 
           reinterpret_cast<double*>(error),