]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add a comment.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 16 Feb 2011 14:52:56 +0000 (14:52 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 16 Feb 2011 14:52:56 +0000 (14:52 +0000)
git-svn-id: https://svn.dealii.org/trunk@23377 0785d39b-7218-0410-832d-ea1e28bc413d

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

index e136a15302442cdd11e43c5a66b80af76d55a808..27188dd76aaabea1661c2cb7708cadeb39bd2783 100644 (file)
@@ -1768,10 +1768,14 @@ namespace TrilinosWrappers
       }
     else
       {
-                                  // Otherwise, just update
-       int ierr;
+                                  // Otherwise, just update. verify
+                                  // that *this does not only have
+                                  // the same map as v (the
+                                  // if-condition above) but also as
+                                  // w
        Assert (vector->Map().SameAs(w.vector->Map()),
                ExcDifferentParallelPartitioning());
+       int ierr;
        ierr = vector->GlobalAssemble(last_action);
        AssertThrow (ierr == 0, ExcTrilinosError(ierr));
 

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.