From 7cfeca8cc352b281ac81c094872f2630149cb89f Mon Sep 17 00:00:00 2001 From: Peter Munch Date: Tue, 10 Sep 2019 07:03:45 +0200 Subject: [PATCH] Generalize an if-statement for distributed triangulation --- source/dofs/dof_handler.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/dofs/dof_handler.cc b/source/dofs/dof_handler.cc index ae5c415019..fa71a6a1fc 100644 --- a/source/dofs/dof_handler.cc +++ b/source/dofs/dof_handler.cc @@ -1293,7 +1293,7 @@ DoFHandler::distribute_mg_dofs() // only if this is a sequential // triangulation. it doesn't work // correctly yet if it is parallel - if (dynamic_cast *>( + if (dynamic_cast *>( &*tria) == nullptr) block_info_object.initialize(*this, true, false); } -- 2.39.5