From aab5490ae977946f1da683c59487df8eab186ebb Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Thu, 21 May 2009 09:50:08 +0000 Subject: [PATCH] Don't need GlobalAssemble there I think. git-svn-id: https://svn.dealii.org/trunk@18873 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/source/trilinos_vector.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 { -- 2.39.5