Corrected sillyness

release/4.3a0
dellaert 2014-12-22 23:41:42 +01:00
parent 55fe170d4f
commit f5c9c24330
2 changed files with 2 additions and 2 deletions

View File

@ -104,7 +104,7 @@ protected:
/// shorthand for this class
typedef SmartProjectionFactor<POSE, CALIBRATION, D> This;
static const int ZDim = traits_x<Point2>::dimension; ///< Measurement dimension
static const int ZDim = 2; ///< Measurement dimension
public:

View File

@ -107,7 +107,7 @@ protected:
/// shorthand for this class
typedef SmartStereoProjectionFactor<POSE, LANDMARK, CALIBRATION, D> This;
enum {ZDim = traits_x<gtsam::StereoPoint2>::dimension}; ///< Dimension trait of measurement type
enum {ZDim = 3}; ///< Dimension trait of measurement type
public: