From 2ceb893001bf8051a26fc534e1dc923c23d143a2 Mon Sep 17 00:00:00 2001 From: Thomas Fischer <thomas.fischer@ufz.de> Date: Thu, 13 Mar 2014 08:26:53 +0100 Subject: [PATCH] [MathLib] TemplatePoint: Explicit call of constructor of std::array. Try to fix some failing tests on travis CI for Vector3 associated to default constructor of Vecor3. --- MathLib/TemplatePoint.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MathLib/TemplatePoint.h b/MathLib/TemplatePoint.h index faa3e4225af..9a0984dfa64 100644 --- a/MathLib/TemplatePoint.h +++ b/MathLib/TemplatePoint.h @@ -97,7 +97,8 @@ protected: }; template <typename T, std::size_t DIM> -TemplatePoint<T,DIM>::TemplatePoint() +TemplatePoint<T,DIM>::TemplatePoint() : + _x() {} template <typename T, std::size_t DIM> -- GitLab