From: Wolfgang Bangerth Date: Sun, 6 Sep 2015 21:47:15 +0000 (-0500) Subject: Minor cleanups. X-Git-Tag: v8.4.0-rc2~439^2~7 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d6c6765acb56f239f07fa7c9dc885a7d2bf5fa0;p=dealii.git Minor cleanups. --- 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.