From 527eca83f8b1d27576f800b9a09fc6f1f936d8cc Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Tue, 6 Sep 2016 14:14:41 +0200 Subject: [PATCH] Compare with Triangulation::none instead of true --- 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 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(); -- 2.39.5