From: wolf Date: Wed, 17 Nov 2004 04:02:46 +0000 (+0000) Subject: Small clean-up. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=344d4bd274adc5cfbab7d624d2ddd5d099446918;p=dealii-svn.git Small clean-up. git-svn-id: https://svn.dealii.org/trunk@9784 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 ba186b9343..075a2121ea 100644 --- a/deal.II/deal.II/source/fe/fe_q.cc +++ b/deal.II/deal.II/source/fe/fe_q.cc @@ -1462,13 +1462,9 @@ FE_Q<3>::initialize_constraints () // the problem, see the discussion // in the FiniteElementBase class // for constraint matrices in 3d. - if (constraint_point(k) > 0.5) - { - constraint_point(k) = 1.0 - constraint_point(k); - mirror[k] = true; - } - else - mirror[k] = false; + mirror[k] = (constraint_point(k) > 0.5); + if (mirror[k]) + constraint_point(k) = 1.0 - constraint_point(k); } for (unsigned i = 0; i < pnts; ++i)