cubintegrate now matches method via match.arg (Issue 25)
Address gcc version 10.0 changes due to -fno-common default setting.
Cuba-4.2/src/divonne/Split.c (lines 119–128 utilizing a flag for first time through loopMakevarshcubature (Thanks, Ehsan Masoudi)minfluct in Cuba-4.2/src/suave/Integrate.c in lines 197–205. (Thanks, Prof. Brian Ripley)Makevars and Makevars.win to remove some unused flags. Tentative fix for solaris in Makevars and Cuba-4.2/src/common/stddecl.c.statefile in all the src/*/Integrate.c routines to avoid segfault on solaris.ret_code for return value in call to getloadavg in Cuba-4.2/src/common/Fork.c. Also added an #ifdef SOLARIS for including appropriate header under solaris.MASTER variadic macro by including dummy argument 0 in Cuba-4.2/src/common/Fork.c, line 146.do { } while(0) hack.Cuba-4.2/src/divonne/Rule.c checks for key values (lines 593 to 600).WORKER variadic macro by including dummy argument 0 in Cuba-4.2/src/common/Parallel.c, line 393.#ifdef FRAMECOPY outside in Cuba-4.2/src/common/Parallel.c to avoid embedding directives in macro args, lines 70-80.doChecking argument. Now it does nothing and will be removed in future versions.scale argument to tests to conform to pass checks.R2Cuba and updated vignette with information on imminent 2.0 release.Fixed up the C call so that it is re-entrant (brought to my attention by Pierre de Villemereuil). This should be considered a bug fix!
Corrected private notes
inst/include for linking to other packagesReadme.md to README.mdclencurt.h) using M = 16 and put back C cubature source in tree.adaptIntegrate and hcubature are aliaseshcubature function gains a norm argument that is set to a sensible default so as not to affect depending packagesRcpp frameworkadapt_integrate and adapt_integrate_v so that they are directly callable from C (courtesy of Simen Gaure)adaptIntegrate; default value for doChecking was incorrectly stated as TRUEdoChecking argument (default FALSE) to save some computation time in evaluating integrand (9% speedup).adaptIntegrate gains … argument (request of Baptiste Auguie)testFn2 to match cubature output exactly