From bb58550ae40e1d63ff8c27122f518672987a7802 Mon Sep 17 00:00:00 2001 From: lvzhaoyang Date: Tue, 23 Jun 2015 10:14:19 -0400 Subject: [PATCH] change:oops, forget the change in the test --- gtsam/geometry/tests/testCal3_S2.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtsam/geometry/tests/testCal3_S2.cpp b/gtsam/geometry/tests/testCal3_S2.cpp index 8272760ef..3e93dedc1 100644 --- a/gtsam/geometry/tests/testCal3_S2.cpp +++ b/gtsam/geometry/tests/testCal3_S2.cpp @@ -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));