From: bangerth Date: Fri, 1 Sep 2006 21:18:48 +0000 (+0000) Subject: Fix an obvious problem X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f975de5728dafec52c858e5d3f7af674462a15e3;p=dealii-svn.git Fix an obvious problem git-svn-id: https://svn.dealii.org/trunk@13797 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/fe/fe_q.cc b/deal.II/deal.II/source/fe/fe_q.cc index bd87fa0636..d55875a758 100644 --- a/deal.II/deal.II/source/fe/fe_q.cc +++ b/deal.II/deal.II/source/fe/fe_q.cc @@ -688,7 +688,7 @@ compare_for_domination (const FiniteElement &fe_other) const { if (this->degree < fe_q_other->degree) return FiniteElementDomination::this_element_dominates; - else if (this->degree < fe_q_other->degree) + else if (this->degree == fe_q_other->degree) return FiniteElementDomination::either_element_can_dominate; else return FiniteElementDomination::other_element_dominates;