Now only accept new FixedRef type

release/4.3a0
dellaert 2014-11-28 01:57:45 +01:00
parent ab864530bf
commit ee790839c6
1 changed files with 2 additions and 5 deletions

View File

@ -50,11 +50,8 @@ class AdaptAutoDiff {
public:
typedef Eigen::Matrix<double, N, M1> JacobianTA1;
typedef Eigen::Matrix<double, N, M2> JacobianTA2;
T operator()(const A1& a1, const A2& a2, boost::optional<JacobianTA1&> H1 =
boost::none, boost::optional<JacobianTA2&> H2 = boost::none) {
T operator()(const A1& a1, const A2& a2, FixedRef<N, M1> H1 = boost::none,
FixedRef<N, M2> H2 = boost::none) {
using ceres::internal::AutoDiff;