Fixed incorrect template argument leading to test failure
parent
e44dfa5052
commit
6ea60745eb
|
@ -50,10 +50,10 @@ TEST( EssentialMatrixConstraint, test ) {
|
||||||
CHECK(assert_equal(expected, actual, 1e-8));
|
CHECK(assert_equal(expected, actual, 1e-8));
|
||||||
|
|
||||||
// Calculate numerical derivatives
|
// Calculate numerical derivatives
|
||||||
Matrix expectedH1 = numericalDerivative11<Vector3,Pose3>(
|
Matrix expectedH1 = numericalDerivative11<Vector5,Pose3>(
|
||||||
boost::bind(&EssentialMatrixConstraint::evaluateError, &factor, _1, pose2,
|
boost::bind(&EssentialMatrixConstraint::evaluateError, &factor, _1, pose2,
|
||||||
boost::none, boost::none), pose1);
|
boost::none, boost::none), pose1);
|
||||||
Matrix expectedH2 = numericalDerivative11<Vector3,Pose3>(
|
Matrix expectedH2 = numericalDerivative11<Vector5,Pose3>(
|
||||||
boost::bind(&EssentialMatrixConstraint::evaluateError, &factor, pose1, _1,
|
boost::bind(&EssentialMatrixConstraint::evaluateError, &factor, pose1, _1,
|
||||||
boost::none, boost::none), pose2);
|
boost::none, boost::none), pose2);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue