avoid memory leak

This commit is contained in:
Axel Kohlmeyer 2020-09-25 17:50:02 -04:00
parent d1321a0860
commit c496b18a9d
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
1 changed files with 1 additions and 0 deletions

View File

@ -849,6 +849,7 @@ void Jacobi<Scalar, Vector, Matrix, ConstMatrix>::
Dealloc() {
//assert(! is_preallocated);
Dealloc2D(&M);
delete[] max_idx_row;
Init();
}