From d6945c7bc43953d6863b5b736496aa1041ab2b19 Mon Sep 17 00:00:00 2001 From: Christoph Rettinger <christoph.rettinger@fau.de> Date: Tue, 13 Feb 2018 08:53:50 +0100 Subject: [PATCH] Warning fix for array with clang --- src/pe/vtk/EllipsoidVtkOutput.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pe/vtk/EllipsoidVtkOutput.cpp b/src/pe/vtk/EllipsoidVtkOutput.cpp index ffe1520ad..4ec85db38 100644 --- a/src/pe/vtk/EllipsoidVtkOutput.cpp +++ b/src/pe/vtk/EllipsoidVtkOutput.cpp @@ -70,8 +70,8 @@ void EllipsoidVtkOutput::configure() Mat3 cxc = math::dyadicProduct(directionVectorZ, directionVectorZ); Mat3 tensor = axa * semiAxes[0] + bxb * semiAxes[1] + cxc * semiAxes[2]; // use symmetry to only write 6 of the 9 elements: XX YY ZZ XY YZ XZ - tensorGlyphs_.push_back({tensor(0,0), tensor(1,1), tensor(2,2), - tensor(0,1), tensor(1,2), tensor(0,2)}); + tensorGlyphs_.push_back({{tensor(0,0), tensor(1,1), tensor(2,2), + tensor(0,1), tensor(1,2), tensor(0,2)}}); } } } -- GitLab