From 374f7fcc870b0d032127dcbd13220ff99552572c Mon Sep 17 00:00:00 2001 From: Owen Green Date: Tue, 19 Feb 2019 18:37:20 +0000 Subject: [PATCH] Overenthusiastic assert include/FluidSCWrapper.hpp --- include/FluidSCWrapper.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/FluidSCWrapper.hpp b/include/FluidSCWrapper.hpp index 83e9a20..1e430ab 100644 --- a/include/FluidSCWrapper.hpp +++ b/include/FluidSCWrapper.hpp @@ -41,7 +41,7 @@ struct FloatControlsIter float next() { - assert(mCount + 1 < mSize); + assert(mCount < mSize); return *mValues[mCount++]; }