From: young Date: Mon, 20 Aug 2012 19:00:44 +0000 (+0000) Subject: Fix KSPCHEBYSHEV for PETSc 3.3. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=869e9344ccb85c00aa9180409339a4cf5d3f1bee;p=dealii-svn.git Fix KSPCHEBYSHEV for PETSc 3.3. git-svn-id: https://svn.dealii.org/trunk@26040 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/lac/petsc_solver.cc b/deal.II/source/lac/petsc_solver.cc index e577410a43..0dec678ba6 100644 --- a/deal.II/source/lac/petsc_solver.cc +++ b/deal.II/source/lac/petsc_solver.cc @@ -267,7 +267,7 @@ namespace PETScWrappers // set the type of solver. int ierr; -#ifdef DEAL_II_PETSC_VERSION_LT(3,3,0) +#if DEAL_II_PETSC_VERSION_LT(3,3,0) ierr = KSPSetType (ksp, const_cast(KSPCHEBYCHEV)); #else ierr = KSPSetType (ksp, const_cast(KSPCHEBYSHEV));