From 742424e03de04f2432d996fa668dfb536bd43dab Mon Sep 17 00:00:00 2001 From: Christoph Lehmann <christoph.lehmann@ufz.de> Date: Tue, 15 Aug 2017 14:34:45 +0200 Subject: [PATCH] [MaL] fix integration point of 1st order tet --- MathLib/Integration/GaussLegendreTet.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MathLib/Integration/GaussLegendreTet.cpp b/MathLib/Integration/GaussLegendreTet.cpp index 0ad20e54daf..b81cc7272b3 100644 --- a/MathLib/Integration/GaussLegendreTet.cpp +++ b/MathLib/Integration/GaussLegendreTet.cpp @@ -11,9 +11,9 @@ namespace MathLib { - -template <> const std::array<std::array<double, 3>, GaussLegendreTet<1>::NPoints> -GaussLegendreTet<1>::X = {{{{1./3., 1./3., 1./3.}}}}; +template <> +const std::array<std::array<double, 3>, GaussLegendreTet<1>::NPoints> + GaussLegendreTet<1>::X = {{{{1. / 4., 1. / 4., 1. / 4.}}}}; template <> double const GaussLegendreTet<1>::W[1] = {1. / 6.}; -- GitLab