From: prill Date: Sat, 9 Jun 2007 09:12:32 +0000 (+0000) Subject: Changes in PETSc full matrix test. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2295f1940999e27f823a62ead831ad0a94e5fd1a;p=dealii-svn.git Changes in PETSc full matrix test. git-svn-id: https://svn.dealii.org/trunk@14773 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/petsc/petsc_full_matrix_05.cc b/tests/petsc/petsc_full_matrix_05.cc index 602905b971..af49e1ee53 100644 --- a/tests/petsc/petsc_full_matrix_05.cc +++ b/tests/petsc/petsc_full_matrix_05.cc @@ -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; }