From 97fddda6f6248a3c480d96436cc8c50c263ddd42 Mon Sep 17 00:00:00 2001 From: Jonathan Lambrechts <jonathan.lambrechts@uclouvain.be> Date: Fri, 17 Jul 2015 13:17:30 +0000 Subject: [PATCH] dg : generalized dgBlockMatrix to look like a standard linear system --- Numeric/fullMatrix.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Numeric/fullMatrix.h b/Numeric/fullMatrix.h index e76184055e..d9256611b9 100644 --- a/Numeric/fullMatrix.h +++ b/Numeric/fullMatrix.h @@ -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; } -- GitLab