Fix dimensions, add is_group
parent
06af482d61
commit
b1aa7148c7
|
@ -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> {
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue