star-gs

Literate program for a geometric sensitivity calculation
git clone git://git.meso-star.fr/star-gs.git
Log | Files | Refs | README | LICENSE

commit cecaf43b4f809c9f251ed05024bfb7780ff99b4f
parent 8e7244be002e1c4df5367104dddb99da3e7f16e7
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Thu,  5 Feb 2026 19:08:13 +0100

Utilise la version 0.6 de Star-MonteCarlo

Corrige une rupture d'API suite à ce changement de version.

Diffstat:
Mconfig.mk | 2+-
Msrc/sgs_compute_sensitivity_translation.nw | 6+++++-
2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/config.mk b/config.mk @@ -47,7 +47,7 @@ STAR-3D_VERSION = 0.8 STAR-3D_INC = $$($(PKG_CONFIG) --cflags s3d) STAR-3D_LIB = $$($(PKG_CONFIG) --libs s3d) -STAR-MC_VERSION = 0.5 +STAR-MC_VERSION = 0.6 STAR-MC_INC = $$($(PKG_CONFIG) --cflags smc) STAR-MC_LIB = $$($(PKG_CONFIG) --libs smc) diff --git a/src/sgs_compute_sensitivity_translation.nw b/src/sgs_compute_sensitivity_translation.nw @@ -1227,12 +1227,16 @@ run_realisation (void* output, struct ssp_rng* rng, const unsigned ithread, + const uint64_t irealisation, void* ctx) { struct smc_doubleN_context* context = NULL; struct sgs* sgs = NULL; ASSERT(ctx && output); - (void)ithread; /* Éviter l'avertissement "variable inutilisée" */ + + /* Éviter l'avertissement "variable inutilisée" */ + (void)ithread, (void)irealisation; + context = ctx; sgs = context->integrand_data; return realisation(rng, &sgs->scene, SMC_DOUBLEN(output));