From 8aac62ec1e5533adbc3c094588c4c3a6b8906f1f Mon Sep 17 00:00:00 2001 From: jing Date: Thu, 23 Jan 2014 00:52:55 -0500 Subject: [PATCH] fix LieVector constructor away from Vector_() --- gtsam/base/LieVector.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gtsam/base/LieVector.cpp b/gtsam/base/LieVector.cpp index 17aeff73a..c86b51a24 100644 --- a/gtsam/base/LieVector.cpp +++ b/gtsam/base/LieVector.cpp @@ -24,8 +24,10 @@ namespace gtsam { /* ************************************************************************* */ LieVector::LieVector(size_t m, const double* const data) -: Vector(Vector_(m,data)) +: Vector(m) { + for(size_t i = 0; i < m; i++) + (*this)(i) = data[i]; } /* ************************************************************************* */