]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix an obvious problem
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 1 Sep 2006 21:18:48 +0000 (21:18 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 1 Sep 2006 21:18:48 +0000 (21:18 +0000)
git-svn-id: https://svn.dealii.org/trunk@13797 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/fe/fe_q.cc

index bd87fa0636997a474ceab8735ba109b9626211d7..d55875a7587cc2ee9adda0bd8beb8eb0028606da 100644 (file)
@@ -688,7 +688,7 @@ compare_for_domination (const FiniteElement<dim> &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;

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.