fixed: mismatched delete / new[]
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@800 e10b68d5-8a6e-419e-a041-bce267b0401d
This commit is contained in:
parent
da2d5ad2ac
commit
c2a225f2d1
@ -130,7 +130,7 @@ void DenseMatrix::init ()
|
|||||||
myMat.fill(real(0));
|
myMat.fill(real(0));
|
||||||
|
|
||||||
// Delete pivotation vector of old factorization, if any
|
// Delete pivotation vector of old factorization, if any
|
||||||
if (ipiv) delete ipiv;
|
delete[] ipiv;
|
||||||
ipiv = 0;
|
ipiv = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user