From: Daniel Arndt Date: Fri, 7 Jul 2017 13:57:59 +0000 (+0200) Subject: Fix serialize_hp_dof_handler X-Git-Tag: v9.0.0-rc1~1445^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f1eaf0624eb79c293dc45d4cbed3de8f829f438;p=dealii.git Fix serialize_hp_dof_handler --- 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<";