Skip to content
Snippets Groups Projects
Commit 97fddda6 authored by Jonathan Lambrechts's avatar Jonathan Lambrechts
Browse files

dg : generalized dgBlockMatrix to look like a standard linear system

parent b424a0f2
No related branches found
No related tags found
No related merge requests found
......@@ -501,7 +501,7 @@ class fullMatrix
if (nbRows != -1 && nbColumns == -1)
nbColumns = _r * _c / nbRows;
if (nbRows*nbColumns != size1()*size2())
Msg::Error("Invalid reshape, total number of entries must be equal");
Msg::Error("Invalid reshape, total number of entries must be equal (new %i x %i != old %i x %i)", nbRows, nbColumns, size1(), size2());
_r = nbRows;
_c = nbColumns;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment