fix const string problem in print
parent
e5a7d4c878
commit
550121013f
|
|
@ -79,8 +79,7 @@ namespace gtsam {
|
||||||
// Lie group functions
|
// Lie group functions
|
||||||
|
|
||||||
/** Global print calls member function */
|
/** Global print calls member function */
|
||||||
inline void print(const Rot2& r, std::string& s) { r.print(s); }
|
inline void print(const Rot2& r, const std::string& s = "") { r.print(s); }
|
||||||
inline void print(const Rot2& r) { r.print(); }
|
|
||||||
|
|
||||||
/** Dimensionality of the tangent space */
|
/** Dimensionality of the tangent space */
|
||||||
inline size_t dim(const Rot2&) { return 1; }
|
inline size_t dim(const Rot2&) { return 1; }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue