commit ab2fe9eb7130c18187e595b0bba783a7e12ae3bf
parent 9cf91806399b8c3ff24157e4816f58514ad7411c
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date: Thu, 7 Sep 2017 18:13:53 +0200
Adapt to new solver's API.
Binary output arg for solve() has been removed.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/solstice_solve.c b/src/solstice_solve.c
@@ -479,7 +479,7 @@ solstice_solve(struct solstice* solstice)
}
res = ssol_solve(solstice->scene, rng, solstice->nexperiments,
- solstice->dump_paths ? &solstice->path_tracker : NULL, NULL, &estimator);
+ solstice->dump_paths ? &solstice->path_tracker : NULL, &estimator);
if(res != RES_OK) {
fprintf(stderr, "Error in integrating the solar flux.\n");
if(!estimator) goto error;