From d5142954708f55c837a158926536d94031e370f5 Mon Sep 17 00:00:00 2001 From: heister Date: Mon, 11 Nov 2013 23:27:32 +0000 Subject: [PATCH] fix 2 tests git-svn-id: https://svn.dealii.org/trunk@31631 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/petsc/05.cc | 2 +- tests/petsc/solver_13.cc | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/petsc/05.cc b/tests/petsc/05.cc index fc46438c3b..9c3740055d 100644 --- a/tests/petsc/05.cc +++ b/tests/petsc/05.cc @@ -38,7 +38,7 @@ void test (PETScWrappers::SparseMatrix &m) ++counter; } - m.compress (VectorOperation::add()); + m.compress (VectorOperation::add); deallog << m.n_nonzero_elements() << std::endl; Assert (m.n_nonzero_elements() == counter, diff --git a/tests/petsc/solver_13.cc b/tests/petsc/solver_13.cc index 1142f93b16..7e9db5f265 100644 --- a/tests/petsc/solver_13.cc +++ b/tests/petsc/solver_13.cc @@ -72,9 +72,9 @@ int main(int argc, char **argv) PETScWrappers::Vector u(dim); u = 0.; f = 1.; - A.compress (VectorOperation::add()); - f.compress (VectorOperation::add()); - u.compress (VectorOperation::add()); + A.compress (VectorOperation::add); + f.compress (VectorOperation::add); + u.compress (VectorOperation::add); PETScWrappers::Vector t=u; PETScWrappers::SolverPreOnly solver(control); -- 2.39.5