From: Toby D. Young Date: Thu, 22 Jul 2010 11:44:06 +0000 (+0000) Subject: Fix error in matching PETSC_VERION X-Git-Tag: v8.0.0~5778 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38e6077abcbf7e3009bfadd4a9a9251cdd0a9769;p=dealii.git Fix error in matching PETSC_VERION git-svn-id: https://svn.dealii.org/trunk@21555 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/source/slepc_solver.cc b/deal.II/lac/source/slepc_solver.cc index 10a0b223d0..f48a0b30cf 100644 --- a/deal.II/lac/source/slepc_solver.cc +++ b/deal.II/lac/source/slepc_solver.cc @@ -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)