]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix warning about ununed function in PETScWrappers source file 12086/head
authorDaniel Arndt <arndtd@ornl.gov>
Fri, 23 Apr 2021 13:50:50 +0000 (09:50 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Fri, 23 Apr 2021 13:51:00 +0000 (09:51 -0400)
source/lac/petsc_precondition.cc

index 510453baa7f751732e9dd1b576dcc93e0e6eda51..a18d7684df3a01c2c96b2c418a519607f420d48f 100644 (file)
@@ -463,6 +463,7 @@ namespace PETScWrappers
 
 
 
+#  ifdef DEAL_II_PETSC_WITH_HYPRE
   namespace
   {
     /**
@@ -537,6 +538,7 @@ namespace PETScWrappers
       return string_type;
     }
   } // namespace
+#  endif
 
   PreconditionBoomerAMG::PreconditionBoomerAMG(
     const MPI_Comm &      comm,

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.