]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Don't need GlobalAssemble there I think.
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Thu, 21 May 2009 09:50:08 +0000 (09:50 +0000)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Thu, 21 May 2009 09:50:08 +0000 (09:50 +0000)
git-svn-id: https://svn.dealii.org/trunk@18873 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/source/trilinos_vector.cc

index ebeed0896fb4bdbf7d649681da6227ee1054ff13..05d51ed545a822c321105d82993f29d21d260653 100755 (executable)
@@ -191,11 +191,11 @@ namespace TrilinosWrappers
                  ExcMessage ("The Epetra maps in the assignment operator ="
                              " do not match, even though the local_range "
                              " seems to be the same. Check vector setup!"));
-         vector->GlobalAssemble(last_action);
+
          const int ierr = vector->Update(1.0, *v.vector, 0.0);
          AssertThrow (ierr == 0, ExcTrilinosError(ierr));
 
-         last_action = Insert;
+         last_action = Zero;
        }
       else
        {

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.