Skip to content
Snippets Groups Projects
Commit 145a2006 authored by Dominic Kempf's avatar Dominic Kempf Committed by Markus Blatt
Browse files

[Bugfix] avoid bool mat_is_loaded from being potentially unintitialized

parent 42b32411
No related branches found
No related tags found
No related merge requests found
......@@ -253,9 +253,9 @@ namespace Dune {
int errcode = Caller::load_numeric(&UMF_Numeric, const_cast<char*>(file));
if ((errcode == UMFPACK_ERROR_out_of_memory) || (errcode == UMFPACK_ERROR_file_IO))
{
mat_is_loaded = false;
setMatrix(mat_);
saveDecomposition(file);
mat_is_loaded = false;
}
else
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment