From 59d967b3cc12b33b263415a053b0c122e8080eab Mon Sep 17 00:00:00 2001
From: Christoph Lehmann <christoph.lehmann@ufz.de>
Date: Tue, 15 Aug 2017 09:46:19 +0200
Subject: [PATCH] [MaL] fixed one integration weight

---
 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 b2a7fdeaccd..0ad20e54daf 100644
--- a/MathLib/Integration/GaussLegendreTet.cpp
+++ b/MathLib/Integration/GaussLegendreTet.cpp
@@ -14,7 +14,8 @@ namespace MathLib
 
 template <> const std::array<std::array<double, 3>, GaussLegendreTet<1>::NPoints>
 GaussLegendreTet<1>::X = {{{{1./3., 1./3., 1./3.}}}};
-template <> double const GaussLegendreTet<1>::W[1] = {1.0};
+template <>
+double const GaussLegendreTet<1>::W[1] = {1. / 6.};
 
 const std::array<std::array<double, 3>, GaussLegendreTet<2>::NPoints>
 GaussLegendreTet<2>::X = {{ {{1./4., 1./4., 1./4.}},
-- 
GitLab