From b1e87e033f2203a724e9a1cd3762c54acd4125c0 Mon Sep 17 00:00:00 2001 From: bangerth Date: Wed, 15 Dec 2010 15:23:18 +0000 Subject: [PATCH] Make code a bit simpler to read. git-svn-id: https://svn.dealii.org/trunk@22966 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/fe/mapping_q1.cc | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/deal.II/source/fe/mapping_q1.cc b/deal.II/source/fe/mapping_q1.cc index 5f13f7f0ad..d272ec8515 100644 --- a/deal.II/source/fe/mapping_q1.cc +++ b/deal.II/source/fe/mapping_q1.cc @@ -1000,17 +1000,12 @@ namespace internal data, mapping_contravariant); - typename std::vector >::iterator - result = boundary_forms.begin(); - const typename std::vector >::iterator - end = boundary_forms.end(); - switch (dim) { case 2: { - for (unsigned int i=0; result != end; ++result, ++i) - cross_product (*result, data.aux[0][i]); + for (unsigned int i=0; i