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