diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-11-13 21:12:44 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-11-13 21:12:44 +0100 |
commit | f0acc85e5c31a7df366c7dd9492438731a1d65ef (patch) | |
tree | 78010a14a23bd0c0a09609228e56260be370d990 /lout/misc.hh | |
parent | b45b1791eee02392840984d6836368c004fbfb5a (diff) | |
parent | 41fcd4d8148404ebcad1ed19f11858a4b502148e (diff) |
merge with cvs
Diffstat (limited to 'lout/misc.hh')
-rw-r--r-- | lout/misc.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lout/misc.hh b/lout/misc.hh index 8cd67f78..730a47a4 100644 --- a/lout/misc.hh +++ b/lout/misc.hh @@ -166,7 +166,7 @@ public: */ inline T* getRef (int i) { if (BOUND_CHECKING) - assert (i >= 0 && i < this->num); + assert (i >= 0 && this->num - i > 0); return array + i; } |