From a9933f4788268e648affd72b60d633cd634b6f86 Mon Sep 17 00:00:00 2001 From: bangerth Date: Sun, 10 Nov 2013 15:28:26 +0000 Subject: [PATCH] Convert some of the VectorOperation::add into VectorOperation::insert as appropriate. git-svn-id: https://svn.dealii.org/trunk@31605 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/petsc/18.cc | 2 +- tests/petsc/30.cc | 2 +- tests/petsc/44.cc | 8 ++++---- tests/petsc/full_matrix_07.cc | 2 +- tests/petsc/full_matrix_vector_04.cc | 6 +++--- tests/petsc/solver_03_precondition_ilu.cc | 5 ++--- 6 files changed, 12 insertions(+), 13 deletions(-) diff --git a/tests/petsc/18.cc b/tests/petsc/18.cc index 6175fc23f1..eb00b08281 100644 --- a/tests/petsc/18.cc +++ b/tests/petsc/18.cc @@ -34,7 +34,7 @@ void test (PETScWrappers::Vector &v) v(i) = i; norm += std::fabs(1.*i)*std::fabs(1.*i); } - v.compress (VectorOperation::add); + v.compress (VectorOperation::insert); // then check the norm const double eps=typeid(PetscScalar)==typeid(double) ? 1e-14 : 1e-5; diff --git a/tests/petsc/30.cc b/tests/petsc/30.cc index 1bbe5efea4..efaaf0e53c 100644 --- a/tests/petsc/30.cc +++ b/tests/petsc/30.cc @@ -31,7 +31,7 @@ void test (PETScWrappers::Vector &v) for (unsigned int i=0; i