commit b178f1023eceed4600b5a026b32c2ba07dd23551
parent ef5d9ede84a74375e391c5abd7320dac85ed4798
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Wed, 25 Jan 2017 15:21:04 +0100
Take into account the upd of the ssol_solve API
Diffstat:
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/src/solstice_solve.c b/src/solstice_solve.c
@@ -97,14 +97,8 @@ solstice_solve(struct solstice* solstice)
}
}
- res = ssol_estimator_create(solstice->ssol, &estimator);
- if(res != RES_OK) {
- fprintf(stderr, "Error in creating the Solstice Estimator.\n");
- goto error;
- }
-
res = ssol_solve(solstice->scene, rng, solstice->nrealisations,
- bin_stream, estimator);
+ bin_stream, &estimator);
if(res != RES_OK) {
fprintf(stderr, "Error in integrating the solar flux.\n");
goto error;