From fbef6ce63f39ad643cb836e5057e36a843004cd7 Mon Sep 17 00:00:00 2001 From: Chris Beall Date: Wed, 11 Apr 2012 17:01:16 +0000 Subject: [PATCH] tiny inline fix --- gtsam/base/Matrix.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtsam/base/Matrix.h b/gtsam/base/Matrix.h index 131c5f958..a73c85c1b 100644 --- a/gtsam/base/Matrix.h +++ b/gtsam/base/Matrix.h @@ -396,7 +396,7 @@ Matrix vector_scale(const Matrix& A, const Vector& v, bool inf_mask = false); // * @return a 3*3 skew symmetric matrix */ Matrix3 skewSymmetric(double wx, double wy, double wz); -inline Matrix skewSymmetric(const Vector& w) { return skewSymmetric(w(0),w(1),w(2));} +inline Matrix3 skewSymmetric(const Vector& w) { return skewSymmetric(w(0),w(1),w(2));} /** Use SVD to calculate inverse square root of a matrix */ Matrix inverse_square_root(const Matrix& A);