]> https://gitweb.dealii.org/ - dealii.git/commitdiff
add missing DEAL_II_WITH_SLEPC in petsc_solver.h 2035/head
authorDenis Davydov <davydden@gmail.com>
Tue, 5 Jan 2016 06:33:43 +0000 (07:33 +0100)
committerDenis Davydov <davydden@gmail.com>
Tue, 5 Jan 2016 06:45:44 +0000 (07:45 +0100)
include/deal.II/lac/petsc_solver.h

index 89e7914ff911294ca9c3d52b74aced33f772a6c1..f23a43bf587b983d71a53561b8740caa116aa4a6 100644 (file)
@@ -249,10 +249,12 @@ namespace PETScWrappers
      */
     std_cxx11::shared_ptr<SolverData> 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
   };
 
 

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.