Fixed incorrect template argument leading to test failure

release/4.3a0
dellaert 2014-12-22 13:13:57 +01:00
parent e44dfa5052
commit 6ea60745eb
1 changed files with 2 additions and 2 deletions

View File

@ -50,10 +50,10 @@ TEST( EssentialMatrixConstraint, test ) {
CHECK(assert_equal(expected, actual, 1e-8));
// Calculate numerical derivatives
Matrix expectedH1 = numericalDerivative11<Vector3,Pose3>(
Matrix expectedH1 = numericalDerivative11<Vector5,Pose3>(
boost::bind(&EssentialMatrixConstraint::evaluateError, &factor, _1, pose2,
boost::none, boost::none), pose1);
Matrix expectedH2 = numericalDerivative11<Vector3,Pose3>(
Matrix expectedH2 = numericalDerivative11<Vector5,Pose3>(
boost::bind(&EssentialMatrixConstraint::evaluateError, &factor, pose1, _1,
boost::none, boost::none), pose2);