]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Improve error message.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 26 Jun 2011 03:07:22 +0000 (03:07 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 26 Jun 2011 03:07:22 +0000 (03:07 +0000)
git-svn-id: https://svn.dealii.org/trunk@23862 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/lac/trilinos_vector_base.h

index c99d4b36b8296867e732eeeec1d1a486921675cf..58904f82fedb1289d6bf0ed478e39a43e6d6752f 100644 (file)
@@ -1168,7 +1168,10 @@ namespace TrilinosWrappers
       dynamic_cast<const Epetra_MpiComm*>(&vector_partitioner().Comm())->GetMpiComm(),
       double_mode,
       result);
-    Assert(result.max-result.min<1e-5,  ExcTrilinosError(0));
+    Assert(result.max-result.min<1e-5,
+          ExcMessage ("Not all processors agree whether the last operation on "
+                      "this vector was an addition or a set operation. This will "
+                      "prevent the compress() operation from succeeding."));
 
 #  endif
 #endif

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.