avoid memory leak
This commit is contained in:
@ -849,6 +849,7 @@ void Jacobi<Scalar, Vector, Matrix, ConstMatrix>::
|
||||
Dealloc() {
|
||||
//assert(! is_preallocated);
|
||||
Dealloc2D(&M);
|
||||
delete[] max_idx_row;
|
||||
Init();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user