From: Wolfgang Bangerth <bangerth@colostate.edu> Date: Wed, 5 Apr 2017 21:47:11 +0000 (-0600) Subject: Minor code cleanups. X-Git-Tag: v9.0.0-rc1~1742^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=456d9acc34f7cb5b9701398329ca1787b9e6b93b;p=dealii.git Minor code cleanups. --- diff --git a/source/fe/fe_system.cc b/source/fe/fe_system.cc index f88f90ffa4..e450c473a3 100644 --- a/source/fe/fe_system.cc +++ b/source/fe/fe_system.cc @@ -1538,7 +1538,7 @@ initialize_unit_support_points () { this->unit_support_points.resize(0); return; - }; + } // generate unit support points from unit support points of sub elements this->unit_support_points.resize(this->dofs_per_cell); @@ -1552,7 +1552,7 @@ initialize_unit_support_points () Assert (base_index<base_element(base).unit_support_points.size(), ExcInternalError()); this->unit_support_points[i] = base_element(base).unit_support_points[base_index]; - }; + } } @@ -2157,7 +2157,7 @@ FESystem<dim,spacedim>::get_constant_modes () const std::vector<unsigned int> components; for (unsigned int i=0; i<base_elements.size(); ++i) { - std::pair<Table<2,bool>, std::vector<unsigned int> > + const std::pair<Table<2,bool>, std::vector<unsigned int> > base_table = base_elements[i].first->get_constant_modes(); AssertDimension(base_table.first.n_rows(), base_table.second.size()); const unsigned int element_multiplicity = this->element_multiplicity(i);