solstice-solver

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

commit c15a9a41515a5d2433fbb2190bd0c83b153fbddb
parent 53085177741aa10c55321d539e08c87146e5b96e
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date:   Tue, 11 Oct 2016 10:02:26 +0200

BugFix: wrong management for failed realisations

Diffstat:
Msrc/ssol_solver.c | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/ssol_solver.c b/src/ssol_solver.c @@ -816,11 +816,10 @@ ssol_solve if (rs.error) { estimator->failed_count++; /* FIXME: remove failed realisations' outputs from the output stream */ - } - else { - success_count++; + continue; } + success_count++; /* propagation ended: feed implicit MC data */ seg = current_segment(&rs); w = seg->weight;