Fixed compile bug

release/4.3a0
Alex Cunningham 2011-09-07 13:31:26 +00:00
parent b0c2295fdd
commit 90ef857e41
1 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ namespace gtsam {
struct ScalarCoordConstraint1: public BoundingConstraint1<VALUES, KEY> { struct ScalarCoordConstraint1: public BoundingConstraint1<VALUES, KEY> {
typedef BoundingConstraint1<VALUES, KEY> Base; ///< Base class convenience typedef typedef BoundingConstraint1<VALUES, KEY> Base; ///< Base class convenience typedef
typedef boost::shared_ptr<ScalarCoordConstraint1<VALUES, KEY, IDX> > shared_ptr; ///< boost::shared_ptr convenience typedef typedef boost::shared_ptr<ScalarCoordConstraint1<VALUES, KEY, IDX> > shared_ptr; ///< boost::shared_ptr convenience typedef
typedef typename::KEY::Value Point; ///< Constrained variable type typedef typename KEY::Value Point; ///< Constrained variable type
/** /**
* Constructor for constraint * Constructor for constraint
@ -105,7 +105,7 @@ namespace gtsam {
* @param b is the second Lie element * @param b is the second Lie element
* @return a scalar distance between values * @return a scalar distance between values
*/ */
template<class T1, class T2 = T1> template<class T1, class T2>
double range_trait(const T1& a, const T2& b) { return a.dist(b); } double range_trait(const T1& a, const T2& b) { return a.dist(b); }
/** /**