From f96e079fbd8de5f6777d88a5feb5e39d5b10b225 Mon Sep 17 00:00:00 2001 From: Chris Beall Date: Sun, 23 Nov 2014 15:29:14 -0500 Subject: [PATCH] Windows template specialization fix --- gtsam/base/Manifold.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gtsam/base/Manifold.h b/gtsam/base/Manifold.h index 2cd78a028..0839e8fb5 100644 --- a/gtsam/base/Manifold.h +++ b/gtsam/base/Manifold.h @@ -242,13 +242,13 @@ struct DefaultChart { // Fixed size Eigen::Matrix type -template -struct DefaultChart > { +template +struct DefaultChart > { /** * This chart for the vector space of M x N matrices (represented by Eigen matrices) chooses as basis the one with respect to which the coordinates are exactly the matrix entries as laid out in memory (as determined by Options). * Computing coordinates for a matrix is then simply a reshape to the row vector of appropriate size. */ - typedef Eigen::Matrix type; + typedef Eigen::Matrix type; typedef type T; typedef Eigen::Matrix::value, 1> vector;BOOST_STATIC_ASSERT_MSG((M!=Eigen::Dynamic && N!=Eigen::Dynamic), "DefaultChart has not been implemented yet for dynamically sized matrices");