]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix KSPCHEBYSHEV for PETSc 3.3.
authoryoung <young@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 20 Aug 2012 19:00:44 +0000 (19:00 +0000)
committeryoung <young@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 20 Aug 2012 19:00:44 +0000 (19:00 +0000)
git-svn-id: https://svn.dealii.org/trunk@26040 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/lac/petsc_solver.cc

index e577410a43b17cb13924733a37ea95814c0d6896..0dec678ba628009e285c4364f4a5119367fc6e80 100644 (file)
@@ -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<char *>(KSPCHEBYCHEV));
 #else
     ierr = KSPSetType (ksp, const_cast<char *>(KSPCHEBYSHEV));

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.