More template handholding for windows

release/4.3a0
Andrew Melim 2014-12-08 21:48:59 -05:00
parent 701dcc1c99
commit cea76a2848
1 changed files with 5 additions and 1 deletions

View File

@ -62,7 +62,11 @@ Point2_ project3(const Pose3_& x, const Point3_& p, const Cal3_S2_& K) {
template<class CAL>
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