From 314ea4c7225239335f13658387dd6aedea4abada Mon Sep 17 00:00:00 2001 From: David Wells Date: Thu, 7 Jul 2016 09:36:20 -0400 Subject: [PATCH] Fix compilation with PETSc and not hypre. --- source/lac/petsc_precondition.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/lac/petsc_precondition.cc b/source/lac/petsc_precondition.cc index 96bd524b52..15991bc119 100644 --- a/source/lac/petsc_precondition.cc +++ b/source/lac/petsc_precondition.cc @@ -480,7 +480,7 @@ namespace PETScWrappers void PreconditionBoomerAMG::initialize () { -#ifndef PETSC_USE_COMPLEX +#ifdef PETSC_HAVE_HYPRE int ierr; ierr = PCSetType (pc, const_cast(PCHYPRE)); AssertThrow (ierr == 0, ExcPETScError(ierr)); -- 2.39.5