]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix compilation without p4est 4652/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Mon, 24 Jul 2017 22:20:07 +0000 (00:20 +0200)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Mon, 24 Jul 2017 22:20:24 +0000 (00:20 +0200)
source/dofs/dof_handler_policy.cc

index dd07b27a900fe32d2ec7641bdde7d90a2a87f9bf..6c53cfbce627d05e83615016fbb6b5fdef2f3277 100644 (file)
@@ -3499,6 +3499,7 @@ namespace internal
       {
 #ifndef DEAL_II_WITH_P4EST
         Assert (false, ExcNotImplemented());
+        return NumberCache();
 #else
         const unsigned int dim      = DoFHandlerType::dimension;
         const unsigned int spacedim = DoFHandlerType::space_dimension;
@@ -3702,9 +3703,8 @@ namespace internal
               }
         }
 #endif // DEBUG
-#endif // DEAL_II_WITH_P4EST
-
         return number_cache;
+#endif // DEAL_II_WITH_P4EST
       }
 
 

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.