From: bangerth Date: Sun, 10 Nov 2013 15:28:26 +0000 (+0000) Subject: Convert some of the VectorOperation::add into VectorOperation::insert as appropriate. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9933f4788268e648affd72b60d633cd634b6f86;p=dealii-svn.git 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 --- 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