From 4e13c5a5799fcf899d983218e15822c08d40d0e3 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Tue, 25 Jul 2017 00:20:07 +0200 Subject: [PATCH] Fix compilation without p4est --- source/dofs/dof_handler_policy.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/dofs/dof_handler_policy.cc b/source/dofs/dof_handler_policy.cc index dd07b27a90..6c53cfbce6 100644 --- a/source/dofs/dof_handler_policy.cc +++ b/source/dofs/dof_handler_policy.cc @@ -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 } -- 2.39.5