]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Always copy vector in equ.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 23 Oct 2008 03:25:40 +0000 (03:25 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 23 Oct 2008 03:25:40 +0000 (03:25 +0000)
git-svn-id: https://svn.dealii.org/trunk@17311 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/source/trilinos_vector_base.cc

index 7d74519947904812f9cd24ce5d674cc42c967487..9a0e0eaf64c5275775b7b9401839e566b7576c21 100644 (file)
@@ -870,8 +870,7 @@ namespace TrilinosWrappers
            ExcMessage("The given value is not finite but "
                       "either infinite or Not A Number (NaN)"));
 
-    if (vector->Map().SameAs(v.vector->Map()) == false)
-       *vector = *v.vector;
+    *vector = *v.vector;
 
     sadd (a, b, w);
   }

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.