]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
undo r26010
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 17 Aug 2012 22:29:32 +0000 (22:29 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 17 Aug 2012 22:29:32 +0000 (22:29 +0000)
git-svn-id: https://svn.dealii.org/trunk@26014 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 4cabc1f59e29af3e57491d1fde76957a644c1bfc..48d3b13c812a96cf31f8e664bf0183ce0caed12f 100644 (file)
@@ -1732,8 +1732,8 @@ namespace TrilinosWrappers
                                      // if we have ghost values, do not allow
                                      // writing to this vector at all.
     Assert (!has_ghost_elements(), ExcGhostsPresent());
-    Assert (size() == v.size(),
-            ExcDimensionMismatch(size(), v.size()));
+    Assert (local_size() == v.local_size(),
+            ExcDimensionMismatch(local_size(), v.local_size()));
 
     Assert (numbers::is_finite(s), ExcNumberNotFinite());
 

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.