star-gas

Load and structure gas data
git clone git://git.meso-star.fr/star-gas.git
Log | Files | Refs | README | LICENSE

commit eccbd053f451601038bb3397719afe187a58a186
parent 8a5d940548128569a0444f9e3e489aaf4b0b4617
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Wed,  4 Mar 2026 10:20:09 +0100

Fix an assertion

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

diff --git a/src/sgas.c b/src/sgas.c @@ -248,7 +248,7 @@ fetch_therm_props(const struct sgas* gas, const double time) } else { /* The input time lies between two sets of thermodynamic properties. Query * the one that is closest. */ - ASSERT(find->time > time && find != prop_list); + ASSERT(find->time >= time && find != prop_list); props = (find[0].time - time) < (time - find[-1].time) ? find : find-1; }