From: Peter Munch Date: Tue, 10 Sep 2019 05:03:45 +0000 (+0200) Subject: Generalize an if-statement for distributed triangulation X-Git-Tag: v9.2.0-rc1~1123^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7cfeca8cc352b281ac81c094872f2630149cb89f;p=dealii.git Generalize an if-statement for distributed triangulation --- 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); }