instantiate SymbolicConfig

release/4.3a0
Kai Ni 2010-02-16 23:20:39 +00:00
parent d895cb90dc
commit cb5d4c3127
2 changed files with 3 additions and 2 deletions

View File

@ -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; }

View File

@ -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>;