From: Daniel Arndt Date: Tue, 6 Sep 2016 12:14:41 +0000 (+0200) Subject: Compare with Triangulation::none instead of true X-Git-Tag: v8.5.0-rc1~697^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=527eca83f8b1d27576f800b9a09fc6f1f936d8cc;p=dealii.git Compare with Triangulation::none instead of true --- diff --git a/source/dofs/dof_handler.cc b/source/dofs/dof_handler.cc index fd986a6a28..f892639463 100644 --- a/source/dofs/dof_handler.cc +++ b/source/dofs/dof_handler.cc @@ -1156,7 +1156,8 @@ void DoFHandler::distribute_mg_dofs (const FiniteElementget_mesh_smoothing() & Triangulation::limit_level_difference_at_vertices)==true, + Assert(((tria->get_mesh_smoothing() & Triangulation::limit_level_difference_at_vertices) + != Triangulation::none), ExcMessage("The mesh smoothing requirement 'limit_level_difference_at_vertices' has to be set for using multigrid!")); clear_mg_space();