From: Wolfgang Bangerth Date: Fri, 1 Sep 2006 21:18:48 +0000 (+0000) Subject: Fix an obvious problem X-Git-Tag: v8.0.0~11175 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6575e2bca48a4a726c56cdba774f886eee70d8d2;p=dealii.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;