X-Git-Url: http://git.treefish.org/~alex/cubaint.git/blobdiff_plain/9e3e3f8c208957267f957072059cfa776e726282..60f2ebe7415cd811bbdfb52b16a38d6e2823ee28:/cubaint.cpp diff --git a/cubaint.cpp b/cubaint.cpp index 939da69..9c9fef3 100644 --- a/cubaint.cpp +++ b/cubaint.cpp @@ -15,9 +15,9 @@ int cubaint::integrate (integrand_t integrand, const intmethod& IntMethod, { assert (verbosity < 4); - _integrate( integrand, IntMethod, Limits, ncomp, - nregions, neval, fail, integral, - error, prob, verbosity, userdata, Options ); + return _integrate( integrand, IntMethod, Limits, ncomp, + nregions, neval, fail, integral, + error, prob, verbosity, userdata, Options ); } int cubaint::integrate (integrand_tc integrand, const intmethod& IntMethod, @@ -30,9 +30,9 @@ int cubaint::integrate (integrand_tc integrand, const intmethod& IntMethod, { assert (verbosity < 4); - _integrate( integrand, IntMethod, Limits, 2*ncomp, - nregions, neval, fail, integral, - error, prob, verbosity, userdata, Options ); + return _integrate( integrand, IntMethod, Limits, 2*ncomp, + nregions, neval, fail, integral, + error, prob, verbosity, userdata, Options ); } template