solstice-solver

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

commit f570718742f9d7644e00cf2b56a9fe6837f255df
parent 9c3f18150548329fc356fef2a1bae5248c3ee6e2
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date:   Mon, 22 May 2017 16:26:37 +0200

Fix issue #29.

A primary geometry can have no sample.

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

diff --git a/src/ssol_estimator.c b/src/ssol_estimator.c @@ -149,7 +149,7 @@ ssol_estimator_get_mc_sampled_x_receiver memset(rcv, 0, sizeof(rcv[0])); mc_samp = htable_sampled_find(&estimator->mc_sampled, &samp_instance); - if(!mc_samp || !mc_samp->nb_samples) { + if(!mc_samp) { /* The sampled instance has no MC estimation */ return RES_BAD_ARG; }