change:oops, forget the change in the test

release/4.3a0
lvzhaoyang 2015-06-23 10:14:19 -04:00
parent 93e1311e0d
commit bb58550ae4
1 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ Point2 calibrate_(const Cal3_S2& k, const Point2& pt) {return k.calibrate(pt);
TEST(Cal3_S2, Dcalibrate1)
{
Matrix computed;
Point2 expected = K.calibrate2(p_uv, computed, boost::none);
Point2 expected = K.calibrate(p_uv, computed, boost::none);
Matrix numerical = numericalDerivative21(calibrate_, K, p_uv);
CHECK(assert_equal(expected, p_xy, 1e-8));
CHECK(assert_equal(numerical, computed, 1e-8));
@ -90,7 +90,7 @@ TEST(Cal3_S2, Dcalibrate1)
TEST(Cal3_S2, Dcalibrate2)
{
Matrix computed;
Point2 expected = K.calibrate2(p_uv, boost::none, computed);
Point2 expected = K.calibrate(p_uv, boost::none, computed);
Matrix numerical = numericalDerivative22(calibrate_, K, p_uv);
CHECK(assert_equal(expected, p_xy, 1e-8));
CHECK(assert_equal(numerical, computed, 1e-8));