From: heister Date: Mon, 11 Nov 2013 23:27:32 +0000 (+0000) Subject: fix 2 tests X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5142954708f55c837a158926536d94031e370f5;p=dealii-svn.git fix 2 tests git-svn-id: https://svn.dealii.org/trunk@31631 0785d39b-7218-0410-832d-ea1e28bc413d --- 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);