star-hitran

Load line-by-line data from the HITRAN database
git clone git://git.meso-star.fr/star-hitran.git
Log | Files | Refs | README | LICENSE

commit 0f0ba10404e57d315238e551f00ee6ec54b49e63
parent c90bbd3dce184f13e6550b2cfe68a35f681d2122
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Wed,  9 Feb 2022 12:00:32 +0100

Fix an assertion

Diffstat:
Msrc/shitran_isotope_metadata.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/shitran_isotope_metadata.c b/src/shitran_isotope_metadata.c @@ -721,7 +721,7 @@ shitran_isotope_metadata_find_isotope if(!piisotope) { *out_isotope = SHITRAN_ISOTOPE_NULL; } else { - ASSERT(piisotope < darray_isotope_size_get(&metadata->isotopes)); + ASSERT(*piisotope < darray_isotope_size_get(&metadata->isotopes)); *out_isotope = darray_isotope_cdata_get(&metadata->isotopes)[*piisotope]; }