star-mc

Parallel estimation of Monte Carlo integrators
git clone git://git.meso-star.fr/star-mc.git
Log | Files | Refs | README | LICENSE

commit 408ec1cfe6d9b7ebce3baea0727ccf0165334a55
parent 5cda3b5c9b329797e209d9553924973997b971de
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Wed,  1 Jun 2016 11:29:36 +0200

Fix the test_smc_errors test

Diffstat:
Msrc/test_smc_errors.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test_smc_errors.c b/src/test_smc_errors.c @@ -90,7 +90,7 @@ main(int argc, char** argv) /* it is expected that solve was auto-canceled */ NCHECK(integrator.max_steps, status.N); - CHECK(status.NF, integrator.max_failures + 1); + CHECK(status.NF >= integrator.max_failures + 1, 1); /* result must be 1 with std err = 0 */ CHECK(SMC_DOUBLE(status.E), 1);