From a6ba628e43dd3b9bd26e739565f348a6a67e9e4c Mon Sep 17 00:00:00 2001
From: heister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Date: Fri, 17 Aug 2012 22:29:32 +0000
Subject: [PATCH] undo r26010

git-svn-id: https://svn.dealii.org/trunk@26014 0785d39b-7218-0410-832d-ea1e28bc413d
---
 deal.II/include/deal.II/lac/trilinos_vector_base.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/deal.II/include/deal.II/lac/trilinos_vector_base.h b/deal.II/include/deal.II/lac/trilinos_vector_base.h
index 4cabc1f59e..48d3b13c81 100644
--- a/deal.II/include/deal.II/lac/trilinos_vector_base.h
+++ b/deal.II/include/deal.II/lac/trilinos_vector_base.h
@@ -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());
 
-- 
2.39.5