From 487255a45a0c9286f4ec7d42aa04a0ec4de428b7 Mon Sep 17 00:00:00 2001
From: Dmitri Naumov <dmitri.naumov@ufz.de>
Date: Fri, 23 Feb 2018 14:04:17 +0100
Subject: [PATCH] [MaL] GaussLegendre: Add missing static specifier.

---
 MathLib/Integration/GaussLegendreTet.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/MathLib/Integration/GaussLegendreTet.cpp b/MathLib/Integration/GaussLegendreTet.cpp
index 44573701184..36d10184202 100644
--- a/MathLib/Integration/GaussLegendreTet.cpp
+++ b/MathLib/Integration/GaussLegendreTet.cpp
@@ -25,7 +25,8 @@ GaussLegendreTet<2>::X = {{ {{1./4., 1./4., 1./4.}},
                             {{1./6., 1./6., 1./2.}} }};
 double const GaussLegendreTet<2>::W[5] = {-2./15., 0.075, 0.075, 0.075, 0.075};
 
-std::array<std::array<double, 3>, GaussLegendreTet<3>::NPoints> initGLTet3X()
+static std::array<std::array<double, 3>, GaussLegendreTet<3>::NPoints>
+initGLTet3X()
 {
     // Cf. Gellert, M., Harbord, R., 1991. Moderate degree cubature formulas for
     // 3-D tetrahedral finite-element approximations. Communications in Applied
-- 
GitLab