Invalidate pointer after deallocation

This commit is contained in:
Richard Berger
2020-09-30 09:10:40 -04:00
parent fdbdd26585
commit 23279836c9

View File

@ -850,6 +850,7 @@ Dealloc() {
//assert(! is_preallocated);
Dealloc2D(&M);
delete[] max_idx_row;
max_idx_row = nullptr;
Init();
}