]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add forgotten guards.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 3 Mar 2004 02:03:38 +0000 (02:03 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 3 Mar 2004 02:03:38 +0000 (02:03 +0000)
git-svn-id: https://svn.dealii.org/trunk@8642 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/grid/grid_refinement.cc

index 084a3434e85dbc6c1ec36504bb01a09d6f113319..3056bc1fee909279f982975aeedcef27b4897d5e 100644 (file)
@@ -48,7 +48,7 @@ namespace
   }
 
 
-  
+#ifdef DEAL_II_USE_PETSC  
   PetscScalar
   max_element (const PETScWrappers::VectorBase &criteria)
   {
@@ -62,7 +62,6 @@ namespace
   }
 
 
-
   PetscScalar
   min_element (const PETScWrappers::VectorBase &criteria)
   {
@@ -74,6 +73,7 @@ namespace
       m = std::min (m, criteria(i));
     return m;
   }
+#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.