Fixed linking
parent
301e827454
commit
c4095d2ed9
|
|
@ -66,8 +66,8 @@ protected:
|
||||||
*/
|
*/
|
||||||
std::vector<Z> measured_;
|
std::vector<Z> measured_;
|
||||||
|
|
||||||
static const int ZDim = traits<Z>::dimension; ///< Measurement dimension
|
|
||||||
static const int Dim = traits<CAMERA>::dimension; ///< Camera dimension
|
static const int Dim = traits<CAMERA>::dimension; ///< Camera dimension
|
||||||
|
static const int ZDim = traits<Z>::dimension; ///< Measurement dimension
|
||||||
|
|
||||||
// Definitions for block matrices used internally
|
// Definitions for block matrices used internally
|
||||||
typedef Eigen::Matrix<double, Dim, ZDim> MatrixD2; // F'
|
typedef Eigen::Matrix<double, Dim, ZDim> MatrixD2; // F'
|
||||||
|
|
@ -706,8 +706,8 @@ private:
|
||||||
};
|
};
|
||||||
// end class SmartFactorBase
|
// end class SmartFactorBase
|
||||||
|
|
||||||
// TODO: Why is this here?
|
// Definitions need to avoid link errors (above are only declarations)
|
||||||
template<class CAMERA>
|
template<class CAMERA> const int SmartFactorBase<CAMERA>::Dim;
|
||||||
const int SmartFactorBase<CAMERA>::ZDim;
|
template<class CAMERA> const int SmartFactorBase<CAMERA>::ZDim;
|
||||||
|
|
||||||
} // \ namespace gtsam
|
} // \ namespace gtsam
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue