diff --git a/MathLib/Integration/GaussLegendreTet.cpp b/MathLib/Integration/GaussLegendreTet.cpp index b2a7fdeaccd43928c840f52cccfbf5d0b3507b42..0ad20e54daf98968b0ca6de8bf7044224c70a355 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.}},