From: Wolfgang Bangerth Date: Tue, 30 Oct 2012 13:18:14 +0000 (+0000) Subject: Actually make it so that it compiles. X-Git-Tag: v8.0.0~1914 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e0645bd8065329d8c4cc75c435fe65556b7ab8e;p=dealii.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."));