From 07607ab2c9d8003fb04c64b90f9e0e0882006132 Mon Sep 17 00:00:00 2001 From: Graham Harper Date: Thu, 26 Jul 2018 22:53:09 +0000 Subject: [PATCH] Change index k to const for gen_supp_pts --- source/fe/fe_bernardi_raugel.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5