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 59bd5c084a7aec42c4c2b3d64016c2e797d8988d
parent da8128d284f53e9547f217256e7ed81d0ccae876
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Mon, 12 Jan 2026 16:44:31 +0100

Fix an assertion

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

diff --git a/src/shtr_cache.c b/src/shtr_cache.c @@ -113,7 +113,7 @@ cache_get_line res_T res = RES_OK; ASSERT(cache && line); - ASSERT(chunk_id != CHUNK_ID_NONE && line_id < NLINES_PER_CHUNK); + ASSERT(chunk_id != CHUNK_ID_NONE && chunk_line_id < NLINES_PER_CHUNK); mutex_lock(cache->mutex); if(cache->chunk_id != chunk_id) {