From: bangerth Date: Tue, 30 Oct 2012 13:18:14 +0000 (+0000) Subject: Actually make it so that it compiles. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3d18ac2b41bf626685e95d78cf006942765f732;p=dealii-svn.git Actually make it so that it compiles. git-svn-id: https://svn.dealii.org/trunk@27235 0785d39b-7218-0410-832d-ea1e28bc413d --- 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."));