aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/deco.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/deco.c')
-rw-r--r--src/deco.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/deco.c b/src/deco.c
index 80853b8..29f07ea 100644
--- a/src/deco.c
+++ b/src/deco.c
@@ -293,6 +293,8 @@ void init_tissues(decostate_t *ds)
void init_decostate(decostate_t *ds, const unsigned char gflo, const unsigned char gfhi, const double ceil_multiple)
{
+ assert(gflo <= gfhi);
+
init_tissues(ds);
ds->gflo = gflo;