solstice-solver

Solver library of the solstice app
git clone git://git.meso-star.com/solstice-solver.git
Log | Files | Refs | README | LICENSE

commit e1ca1392af7e762c53ec836d2a34d8f0ac9236de
parent 6dcce6cb483d06667c474a07ffdfec22668b10ad
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Mon, 10 Oct 2016 10:57:12 +0200

Fix the solver1 test on Linux

Increment the number of realisations to ensure that the estimated value
is equal to the expected value wrt the standard error of the estimation.

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

diff --git a/src/test_ssol_solver1.c b/src/test_ssol_solver1.c @@ -194,7 +194,7 @@ main(int argc, char** argv) /* can sample any geometry; variance is high */ NCHECK(tmp = tmpfile(), 0); -#define N 5000 +#define N 10000 CHECK(ssol_estimator_clear(estimator), RES_OK); CHECK(ssol_solve(scene, rng, N, tmp, estimator), RES_OK); CHECK(get_receiver_id(target, 1, &r_id), RES_OK);