From 1f1eaf0624eb79c293dc45d4cbed3de8f829f438 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Fri, 7 Jul 2017 15:57:59 +0200 Subject: [PATCH] Fix serialize_hp_dof_handler --- source/dofs/dof_handler.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/dofs/dof_handler.cc b/source/dofs/dof_handler.cc index 11376c30be..7c3ea27e25 100644 --- a/source/dofs/dof_handler.cc +++ b/source/dofs/dof_handler.cc @@ -66,7 +66,8 @@ namespace internal std::string policy_to_string(const dealii::internal::DoFHandler::Policy::PolicyBase &policy) { std::string policy_name; - if (dynamic_cast >*>(&policy)) + if (dynamic_cast >*>(&policy) + || dynamic_cast >*>(&policy)) policy_name = "Policy::Sequential<"; else if (dynamic_cast*>(&policy)) policy_name = "Policy::ParallelDistributed<"; -- 2.39.5