Correction of an assertion in array2D.h which had became uneffective due to the last change.
This commit is contained in:
@@ -157,7 +157,7 @@ public:
|
||||
|
||||
// use with indices
|
||||
T * operator[](int index) {
|
||||
assert(index<y);
|
||||
assert((index>=0) && (index < y));
|
||||
return ptr[index];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user