From: Denis Davydov Date: Tue, 5 Jan 2016 06:33:43 +0000 (+0100) Subject: add missing DEAL_II_WITH_SLEPC in petsc_solver.h X-Git-Tag: v8.4.0-rc2~113^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a27e9edac37bcf3719eef5632571b131f4e1cdd;p=dealii.git add missing DEAL_II_WITH_SLEPC in petsc_solver.h --- 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 };