Skip to content
Snippets Groups Projects
Commit 546a7c68 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

don't report det==0 as an error

parent 4e5151ec
No related branches found
No related tags found
No related merge requests found
......@@ -131,6 +131,8 @@ double gmshMatrix<double>::determinant() const
if(ipiv[i] != i + 1) det = -det;
}
}
else if(info > 0)
det = 0.;
else
Msg::Error("Problem in LAPACK factorisation (info=%d)", info);
delete [] ipiv;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment