From: Martin Kronbichler Date: Thu, 21 May 2009 09:50:08 +0000 (+0000) Subject: Don't need GlobalAssemble there I think. X-Git-Tag: v8.0.0~7664 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aab5490ae977946f1da683c59487df8eab186ebb;p=dealii.git Don't need GlobalAssemble there I think. git-svn-id: https://svn.dealii.org/trunk@18873 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/source/trilinos_vector.cc b/deal.II/lac/source/trilinos_vector.cc index ebeed0896f..05d51ed545 100755 --- a/deal.II/lac/source/trilinos_vector.cc +++ b/deal.II/lac/source/trilinos_vector.cc @@ -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 {