From: bangerth Date: Sat, 21 Dec 2013 04:56:24 +0000 (+0000) Subject: Improve an error message. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c456383aa19ef71b21a6792c770f7ab6687b19dd;p=dealii-svn.git Improve an error message. git-svn-id: https://svn.dealii.org/trunk@32075 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/numerics/matrix_tools.cc b/deal.II/source/numerics/matrix_tools.cc index 74f5dcbba1..6a726729c1 100644 --- a/deal.II/source/numerics/matrix_tools.cc +++ b/deal.II/source/numerics/matrix_tools.cc @@ -2033,7 +2033,11 @@ namespace MatrixTools Assert ((p != matrix.end(row)) && (p->column() == dof_number), - ExcInternalError()); + ExcMessage("This function is trying to access an element of the " + "matrix that doesn't seem to exist. Are you using a " + "nonsymmetric sparsity pattern? If so, you are not " + "allowed to set the eliminate_column argument of this " + "function, see the documentation.")); // correct right hand side right_hand_side(row) -= p->value() /