From 7e9a4c1a2559dab93f41db4abbac29419233286a Mon Sep 17 00:00:00 2001 From: Richard Roberts Date: Mon, 13 Feb 2012 20:27:58 +0000 Subject: [PATCH] Explicit construction in expm --- gtsam/base/Lie.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtsam/base/Lie.h b/gtsam/base/Lie.h index bc530a9f5..a770d9975 100644 --- a/gtsam/base/Lie.h +++ b/gtsam/base/Lie.h @@ -133,7 +133,7 @@ template Matrix wedge(const Vector& x); template T expm(const Vector& x, int K=7) { Matrix xhat = wedge(x); - return expm(xhat,K); + return T(expm(xhat,K)); } } // namespace gtsam