From cfb407ab63f8df005ef8e2a6ad0852cb9c3abbcd Mon Sep 17 00:00:00 2001
From: Dmitri Naumov <dmitri.naumov@ufz.de>
Date: Tue, 17 Oct 2017 17:54:12 +0200
Subject: [PATCH] [MaL] Add braces around obj initializer.

This fixes a clang warning.
---
 MathLib/Integration/GaussLegendreTet.cpp | 28 ++++++++++++------------
 1 file changed, 14 insertions(+), 14 deletions(-)

diff --git a/MathLib/Integration/GaussLegendreTet.cpp b/MathLib/Integration/GaussLegendreTet.cpp
index 1faa686b15a..4d2f24531c9 100644
--- a/MathLib/Integration/GaussLegendreTet.cpp
+++ b/MathLib/Integration/GaussLegendreTet.cpp
@@ -37,20 +37,20 @@ std::array<std::array<double, 3>, GaussLegendreTet<3>::NPoints> initGLTet3X()
     const double e = 0.4544962958743506;
     const double f = 0.045503704125649;
 
-    return {{{a, b, b},
-             {b, a, b},
-             {b, b, a},
-             {b, b, b},
-             {c, d, d},
-             {d, c, d},
-             {d, d, c},
-             {d, d, d},
-             {e, e, f},
-             {e, f, e},
-             {e, f, f},
-             {f, e, e},
-             {f, e, f},
-             {f, f, e}}};
+    return {{{{a, b, b}},
+             {{b, a, b}},
+             {{b, b, a}},
+             {{b, b, b}},
+             {{c, d, d}},
+             {{d, c, d}},
+             {{d, d, c}},
+             {{d, d, d}},
+             {{e, e, f}},
+             {{e, f, e}},
+             {{e, f, f}},
+             {{f, e, e}},
+             {{f, e, f}},
+             {{f, f, e}}}};
 }
 
 const std::array<std::array<double, 3>, GaussLegendreTet<3>::NPoints>
-- 
GitLab