From: Graham Harper Date: Thu, 26 Jul 2018 22:53:09 +0000 (+0000) Subject: Change index k to const for gen_supp_pts X-Git-Tag: v9.1.0-rc1~846^2~6 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07607ab2c9d8003fb04c64b90f9e0e0882006132;p=dealii.git Change index k to const for gen_supp_pts --- diff --git a/source/fe/fe_bernardi_raugel.cc b/source/fe/fe_bernardi_raugel.cc index 9abc4fb38f..0117fde5af 100644 --- a/source/fe/fe_bernardi_raugel.cc +++ b/source/fe/fe_bernardi_raugel.cc @@ -169,7 +169,7 @@ FE_BernardiRaugel::initialize_support_points() p[2] = 0.5; p[i] = j; - unsigned int k = + const unsigned int k = dim * GeometryInfo::vertices_per_cell + i * 2 + j; this->generalized_support_points[k] = p; }