From 973c3018b54d7e674a6b8e813dbfacb983f80e0c Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Sun, 14 Feb 2016 11:02:06 -0500 Subject: [PATCH] fix eager Assertion in DoFAccessor TriaRawIterator constructs a DoFAccessor with NULL as the Triangulation, see include/deal.II/grid/tria_iterator.templates.h:71 so the new Assert introduced in #2179 triggers. --- include/deal.II/dofs/dof_accessor.templates.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/deal.II/dofs/dof_accessor.templates.h b/include/deal.II/dofs/dof_accessor.templates.h index e599d0a863..d428e19a46 100644 --- a/include/deal.II/dofs/dof_accessor.templates.h +++ b/include/deal.II/dofs/dof_accessor.templates.h @@ -60,7 +60,7 @@ DoFAccessor (const Triangulation(dof_handler)) { - Assert (&dof_handler->get_triangulation() == tria, + Assert (tria == NULL || &dof_handler->get_triangulation() == tria, ExcMessage ("You can't create a DoF accessor in which the DoFHandler object " "uses a different triangulation than the one you pass as argument.")); } -- 2.39.5