From b3d18ac2b41bf626685e95d78cf006942765f732 Mon Sep 17 00:00:00 2001 From: bangerth Date: Tue, 30 Oct 2012 13:18:14 +0000 Subject: [PATCH] Actually make it so that it compiles. git-svn-id: https://svn.dealii.org/trunk@27235 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/include/deal.II/dofs/dof_accessor.templates.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deal.II/include/deal.II/dofs/dof_accessor.templates.h b/deal.II/include/deal.II/dofs/dof_accessor.templates.h index 9dd7fc8122..61309fb52d 100644 --- a/deal.II/include/deal.II/dofs/dof_accessor.templates.h +++ b/deal.II/include/deal.II/dofs/dof_accessor.templates.h @@ -1478,7 +1478,7 @@ unsigned int DoFAccessor::n_active_fe_indices () const { if (dim == DH::dimension) - Assert (this->active(), + Assert (this->has_children() == false, ExcMessage ("You can't query information about active FE indices on " "cells that have children and are therefore not active.")); @@ -1499,7 +1499,7 @@ unsigned int DoFAccessor::nth_active_fe_index (const unsigned int n) const { if (dim == DH::dimension) - Assert (this->active(), + Assert (this->has_children() == false, ExcMessage ("You can't query information about active FE indices on " "cells that have children and are therefore not active.")); @@ -1521,7 +1521,7 @@ bool DoFAccessor::fe_index_is_active (const unsigned int fe_index) const { if (dim == DH::dimension) - Assert (this->active(), + Assert (this->has_children() == false, ExcMessage ("You can't query information about active FE indices on " "cells that have children and are therefore not active.")); -- 2.39.5