stardis-solver

Solve coupled heat transfers
git clone git://git.meso-star.fr/stardis-solver.git
Log | Files | Refs | README | LICENSE

commit 24ef62e51ac0f268ae4333da1b8045b1f1404564
parent eb6d142c6c5c9eef45d8361c51415a9c8ce74f34
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date:   Wed, 16 May 2018 16:01:58 +0200

Fix type mismatch that prevented VC to build

Diffstat:
Msrc/sdis_solve.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/sdis_solve.c b/src/sdis_solve.c @@ -291,7 +291,7 @@ sdis_solve_probe_boundary int64_t irealisation = 0; size_t N = 0; /* #realisations that do not fail */ size_t i; - res_T res = RES_OK; + ATOMIC res = RES_OK; if(!scn || !nrealisations || nrealisations > INT64_MAX || !uv || time < 0 || fp_to_meter <= 0 || Tref < 0 || (side != SDIS_FRONT && side != SDIS_BACK) @@ -403,7 +403,7 @@ exit: } if(rng_proxy) SSP(rng_proxy_ref_put(rng_proxy)); if(out_estimator) *out_estimator = estimator; - return res; + return (res_T)res; error: if(estimator) { SDIS(estimator_ref_put(estimator));