commit 6010dfad54eed1074ded5c547fb6eae0b6b6c1b8
parent 624a3023eb73dfa7d49da121e88c21634e14911b
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date: Mon, 11 May 2026 18:08:26 +0200
Bugfix
An invalid assertion caused most tests to fail in debug build.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/ssol_shape.c b/src/ssol_shape.c
@@ -546,7 +546,7 @@ get_carving_count
void* ctx)
{
const struct ssol_carving* carving = (const struct ssol_carving*)ctx;
- ASSERT(ic == 1 && count); (void)ic;
+ ASSERT(ic == 0 && count); (void)ic;
*count = carving->nb_vertices;
}
@@ -558,7 +558,7 @@ get_carving_pos
void* ctx)
{
struct ssol_carving* carving = (struct ssol_carving*)ctx;
- ASSERT(ic == 1); (void)ic;
+ ASSERT(ic == 0); (void)ic;
carving->get(iv, pos, carving->context);
}