From 6a27e9edac37bcf3719eef5632571b131f4e1cdd Mon Sep 17 00:00:00 2001 From: Denis Davydov Date: Tue, 5 Jan 2016 07:33:43 +0100 Subject: [PATCH] add missing DEAL_II_WITH_SLEPC in petsc_solver.h --- include/deal.II/lac/petsc_solver.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/deal.II/lac/petsc_solver.h b/include/deal.II/lac/petsc_solver.h index 89e7914ff9..f23a43bf58 100644 --- a/include/deal.II/lac/petsc_solver.h +++ b/include/deal.II/lac/petsc_solver.h @@ -249,10 +249,12 @@ namespace PETScWrappers */ std_cxx11::shared_ptr solver_data; +#ifdef DEAL_II_WITH_SLEPC /** - * Make the transformation class a friend, since it needs to set the solver. + * Make the transformation class a friend, since it needs to set the KSP solver. */ - friend SLEPcWrappers::TransformationBase; + friend class SLEPcWrappers::TransformationBase; +#endif }; -- 2.39.5