instantiate SymbolicConfig
parent
d895cb90dc
commit
cb5d4c3127
|
@ -74,8 +74,7 @@ namespace gtsam {
|
|||
/** Lie group functions */
|
||||
|
||||
/** Global print calls member function */
|
||||
inline void print(const Point2& p, const std::string& s) { p.print(s); }
|
||||
inline void print(const Point2& p) { p.print(); }
|
||||
inline void print(const Point2& p, const std::string& s = "Point2") { p.print(s); }
|
||||
|
||||
/** Dimensionality of the tangent space */
|
||||
inline size_t dim(const Point2& obj) { return 2; }
|
||||
|
|
|
@ -20,6 +20,8 @@ using namespace std;
|
|||
|
||||
namespace gtsam {
|
||||
|
||||
INSTANTIATE_LIE_CONFIG(Symbol, Point2)
|
||||
|
||||
// Explicitly instantiate so we don't have to include everywhere
|
||||
template class FactorGraph<SymbolicFactor>;
|
||||
|
||||
|
|
Loading…
Reference in New Issue