]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix error in matching PETSC_VERION
authorToby D. Young <tyoung@ippt.pan.pl>
Thu, 22 Jul 2010 11:44:06 +0000 (11:44 +0000)
committerToby D. Young <tyoung@ippt.pan.pl>
Thu, 22 Jul 2010 11:44:06 +0000 (11:44 +0000)
git-svn-id: https://svn.dealii.org/trunk@21555 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/source/slepc_solver.cc

index 10a0b223d0e3fc816e46631ecde2df9ccc01200e..f48a0b30cf28ad840413f8de8b64cc7e2ca581a7 100644 (file)
@@ -353,9 +353,9 @@ namespace SLEPcWrappers
     AssertThrow (ierr == 0, ExcSLEPcError(ierr));
   }
 
+#if DEAL_II_PETSC_VERSION_GTE(3,1,0)
   /* ---------------------- Davidson ----------------------- */
 
-#if DEAL_II_PETSC_VERSION_LT(3,1,0)
   SolverDavidson::SolverDavidson (SolverControl        &cn,
                                  const MPI_Comm       &mpi_communicator,
                                  const AdditionalData &data)

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.