star-line

Structure for accelerating line importance sampling
git clone git://git.meso-star.fr/star-line.git
Log | Files | Refs | README | LICENSE

commit 2a64412c3415a221afe26aca9b85a922c89070f8
parent 79a5087980a354a9500486a4cbbef75016397799
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Thu,  5 Feb 2026 15:23:35 +0100

Fix bug in error handling when loading isotopes

An error was detected but no error code was returned.

Diffstat:
Msrc/sln_mixture.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/sln_mixture.c b/src/sln_mixture.c @@ -321,6 +321,7 @@ parse_isotope "expecting isotope %d of %s, whereas the actual isotope is %d\n", molecule->param.isotopes[iiso].id, shtr_molecule_cstr(molecule->id), iso_id); + res = RES_BAD_ARG; goto error; }