]> git.treefish.org Git - cubaint.git/blobdiff - demo.cpp
Adapted to new cuba interface
[cubaint.git] / demo.cpp
index 93914bfbc3b1b85867e6d2416f4b395e419c4f28..f876bf7120830000c29c42adafcba45a77e1dbd9 100644 (file)
--- a/demo.cpp
+++ b/demo.cpp
@@ -96,7 +96,7 @@ int main ()
   std::cout << "int_0^1 dx (e-x^2+i0): " << std::endl;
   for (int itype=0; itype<4; itype++) {
     cubaint::integrate (&test_integrand_c, cubaint::intmethod(itype),
-                       {{0,1}}, 2,
+                       {{0,1}}, 1,
                        nregions,
                        neval, fail, &integral_c, 
                        &error_c, &prob_c, 0);