From 344d4bd274adc5cfbab7d624d2ddd5d099446918 Mon Sep 17 00:00:00 2001 From: wolf Date: Wed, 17 Nov 2004 04:02:46 +0000 Subject: [PATCH] Small clean-up. git-svn-id: https://svn.dealii.org/trunk@9784 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/fe/fe_q.cc | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) 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) -- 2.39.5