]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
fix 2 tests
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 11 Nov 2013 23:27:32 +0000 (23:27 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 11 Nov 2013 23:27:32 +0000 (23:27 +0000)
git-svn-id: https://svn.dealii.org/trunk@31631 0785d39b-7218-0410-832d-ea1e28bc413d

tests/petsc/05.cc
tests/petsc/solver_13.cc

index fc46438c3b7fe2b622277b8453406249d0232e12..9c3740055d341e9480e4405e681d1e55e06de997 100644 (file)
@@ -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,
index 1142f93b1644ef913fcc73ceb9ef82b7db6a9539..7e9db5f265b14efd95779096df0472a18e7275c6 100644 (file)
@@ -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);

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.