Correction of an assertion in array2D.h which had became uneffective due to the last change.

This commit is contained in:
natureh
2012-03-03 10:52:08 +01:00
parent a1714994f2
commit 6bfbcb849c

View File

@@ -157,7 +157,7 @@ public:
// use with indices // use with indices
T * operator[](int index) { T * operator[](int index) {
assert(index<y); assert((index>=0) && (index < y));
return ptr[index]; return ptr[index];
} }