From 869e9344ccb85c00aa9180409339a4cf5d3f1bee Mon Sep 17 00:00:00 2001 From: young Date: Mon, 20 Aug 2012 19:00:44 +0000 Subject: [PATCH] Fix KSPCHEBYSHEV for PETSc 3.3. git-svn-id: https://svn.dealii.org/trunk@26040 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/lac/petsc_solver.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.39.5