From e96155b135b0fba9d4be277015d8cf7d9e92adaa Mon Sep 17 00:00:00 2001 From: Norihiro Watanabe <norihiro.watanabe@ufz.de> Date: Wed, 20 May 2015 17:17:22 +0200 Subject: [PATCH] fix compiling errors --- NumLib/Fem/ShapeFunction/ShapePrism15-impl.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/NumLib/Fem/ShapeFunction/ShapePrism15-impl.h b/NumLib/Fem/ShapeFunction/ShapePrism15-impl.h index 87c5b83712f..d3efd154047 100644 --- a/NumLib/Fem/ShapeFunction/ShapePrism15-impl.h +++ b/NumLib/Fem/ShapeFunction/ShapePrism15-impl.h @@ -19,9 +19,9 @@ void ShapePrism15::computeShapeFunction(const T_X &x, T_N &N) const double t = x[2]; const double tt1 = 1.0 - t * t; - const double v1 = 2.0 * L0 - 1; - const double v2 = 2.0 * L1 - 1; - const double v3 = 2.0 * L2 - 1; + double v1 = 2.0 * L0 - 1; + double v2 = 2.0 * L1 - 1; + double v3 = 2.0 * L2 - 1; // Vertex, bottom N[0] = 0.5 * L0 * (v1 * (1.0 - t) - tt1); N[1] = 0.5 * L1 * (v2 * (1.0 - t) - tt1); -- GitLab