From 34c1b0682bf8622139d6d9d69b0528c336c1fa96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A9d=C3=A9ric=20Fourmy?= <mfourmy@laas.fr> Date: Fri, 20 Nov 2020 12:49:07 +0100 Subject: [PATCH] hotfix: gcc complains about uninitialized vectors in SE3.h --- include/core/math/SE3.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/core/math/SE3.h b/include/core/math/SE3.h index 79db282a2..685eefaba 100644 --- a/include/core/math/SE3.h +++ b/include/core/math/SE3.h @@ -399,8 +399,8 @@ inline VectorComposite plus(const VectorComposite& x, const VectorComposite& tau { VectorComposite res; - res['P'] = Vector3d(); - res['O'] = Vector4d(); + res['P'] = Vector3d::Zero(); + res['O'] = Vector4d::Zero(); plus(x, tau, res); -- GitLab