]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Changes in PETSc full matrix test.
authorprill <prill@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 9 Jun 2007 09:12:32 +0000 (09:12 +0000)
committerprill <prill@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 9 Jun 2007 09:12:32 +0000 (09:12 +0000)
git-svn-id: https://svn.dealii.org/trunk@14773 0785d39b-7218-0410-832d-ea1e28bc413d

tests/petsc/petsc_full_matrix_05.cc

index 602905b97104442de30113bf619f3ea8b2731d1e..af49e1ee536406a951eb11a4c09463fddba79439 100644 (file)
@@ -44,17 +44,17 @@ void test (PETScWrappers::FullMatrix &m)
                                   // post 2.3.0, output a dummy number
 #if (DEAL_II_PETSC_VERSION_MAJOR == 2) &&\
     ((DEAL_II_PETSC_VERSION_MINOR < 3)   \
-     ||
-     ((DEAL_II_PETSC_VERSION_MINOR == 3) \
-      ((DEAL_II_PETSC_VERSION_SUBMINOR == 3))))
+     ||\
+     ((DEAL_II_PETSC_VERSION_MINOR == 3) &&\
+      (DEAL_II_PETSC_VERSION_SUBMINOR == 0)))
   deallog << m.n_nonzero_elements() << std::endl;
   Assert (m.n_nonzero_elements() == counter,
           ExcInternalError());
 #else
-  deallog << counter() << std::endl;
+  deallog << counter << std::endl;
   Assert (m.m() * m.m(), ExcInternalError());
 #endif
-  
+                                                                  
   deallog << "OK" << std::endl;
 }
 

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.