From 5e267275b03d1ecbe18af6c8c28c28442f18afca Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 25 Feb 2010 15:46:34 +0000 Subject: [PATCH] Use new macro to simplify things. git-svn-id: https://svn.dealii.org/trunk@20694 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/source/petsc_solver.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deal.II/lac/source/petsc_solver.cc b/deal.II/lac/source/petsc_solver.cc index 94ec618415..b8e2b7ceb8 100644 --- a/deal.II/lac/source/petsc_solver.cc +++ b/deal.II/lac/source/petsc_solver.cc @@ -39,7 +39,7 @@ namespace PETScWrappers // and destroy the solver object if we // are in old PETSc mode -#if (PETSC_VERSION_MAJOR == 2) && (PETSC_VERSION_MINOR < 2) +#if DEAL_II_PETSC_VERSION_LT(2,2,0) ierr = SLESDestroy (sles); AssertThrow (ierr == 0, ExcPETScError(ierr)); #endif -- 2.39.5