From: young Date: Sat, 29 Oct 2011 12:39:09 +0000 (+0000) Subject: Modify wrappers to run with latest slepc v3.2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=497892b567ef8f801c19632d705835083e08f49e;p=dealii-svn.git Modify wrappers to run with latest slepc v3.2 git-svn-id: https://svn.dealii.org/trunk@24687 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/lac/slepc_solver.cc b/deal.II/source/lac/slepc_solver.cc index 97e33ab3c9..79a5d6d072 100644 --- a/deal.II/source/lac/slepc_solver.cc +++ b/deal.II/source/lac/slepc_solver.cc @@ -36,10 +36,10 @@ namespace SLEPcWrappers SolverBase::SolverData::~SolverData () { // Destroy the solver object. -#if DEAL_II_PETSC_VERSION_DEV() - int ierr = EPSDestroy (&eps); -#else +#if DEAL_II_PETSC_VERSION_LT(3,2,0) int ierr = EPSDestroy (eps); +#else + int ierr = EPSDestroy (&eps); #endif AssertThrow (ierr == 0, ExcSLEPcError(ierr)); }