From: bangerth Date: Thu, 25 Feb 2010 15:46:34 +0000 (+0000) Subject: Use new macro to simplify things. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a32bead697b4eb0b4dfd14fe8f4067b6497a9db;p=dealii-svn.git Use new macro to simplify things. git-svn-id: https://svn.dealii.org/trunk@20694 0785d39b-7218-0410-832d-ea1e28bc413d --- 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