From 6d6c6765acb56f239f07fa7c9dc885a7d2bf5fa0 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Sun, 6 Sep 2015 16:47:15 -0500 Subject: [PATCH] Minor cleanups. --- source/fe/mapping_q1.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/fe/mapping_q1.cc b/source/fe/mapping_q1.cc index faefe2be6c..e3e1777a16 100644 --- a/source/fe/mapping_q1.cc +++ b/source/fe/mapping_q1.cc @@ -219,7 +219,8 @@ MappingQ1::transform_unit_to_real_cell ( //a Q1 InternalData, but MappingQGeneric produces one with the //polynomial degree of the MappingQ std_cxx11::unique_ptr mdata (new InternalData(1)); - mdata->initialize (this->requires_update_flags (update_quadrature_points | update_jacobians), point_quadrature, 1); + mdata->initialize (this->requires_update_flags (update_quadrature_points), + point_quadrature, 1); // compute the mapping support // points @@ -244,9 +245,8 @@ Point MappingQ1:: transform_unit_to_real_cell_internal (const InternalData &data) const { - const unsigned int n_mapping_points=data.mapping_support_points.size(); - (void)n_mapping_points; - AssertDimension (data.shape_values.size(), n_mapping_points); + AssertDimension (data.shape_values.size(), + data.mapping_support_points.size()); // use now the InternalData to // compute the point in real space. -- 2.39.5