More template handholding for windows
parent
701dcc1c99
commit
cea76a2848
|
@ -62,7 +62,11 @@ Point2_ project3(const Pose3_& x, const Point3_& p, const Cal3_S2_& K) {
|
||||||
|
|
||||||
template<class CAL>
|
template<class CAL>
|
||||||
Point2_ uncalibrate(const Expression<CAL>& K, const Point2_& xy_hat) {
|
Point2_ uncalibrate(const Expression<CAL>& K, const Point2_& xy_hat) {
|
||||||
return Point2_(K, &CAL::uncalibrate, xy_hat);
|
Point2(CAL::*uncal)(const Point2& p,
|
||||||
|
boost::optional<Matrix25&> Dpose,
|
||||||
|
boost::optional<Matrix2&> Dpoint) const = &CAL::uncalibrate;
|
||||||
|
|
||||||
|
return Point2_(K, uncal, xy_hat);
|
||||||
}
|
}
|
||||||
|
|
||||||
} // \namespace gtsam
|
} // \namespace gtsam
|
||||||
|
|
Loading…
Reference in New Issue