Fix dimensions, add is_group

release/4.3a0
dellaert 2014-10-22 00:39:56 +02:00
parent 06af482d61
commit b1aa7148c7
1 changed files with 5 additions and 1 deletions

View File

@ -115,12 +115,16 @@ namespace gtsam {
// Define GTSAM traits
namespace traits {
template<>
struct is_group<LieScalar> : public std::true_type {
};
template<>
struct is_manifold<LieScalar> : public std::true_type {
};
template<>
struct dimension<LieScalar> : public Dynamic {
struct dimension<LieScalar> : public std::integral_constant<int, 1> {
};
}