From 296c937ca83af7ced0301da06d38a09b1ec19a65 Mon Sep 17 00:00:00 2001 From: roderick-koehle <50633232+roderick-koehle@users.noreply.github.com> Date: Thu, 28 Oct 2021 15:55:25 +0200 Subject: [PATCH] Fix calling scaling_factor static method. --- python/gtsam/tests/test_Cal3Fisheye.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python/gtsam/tests/test_Cal3Fisheye.py b/python/gtsam/tests/test_Cal3Fisheye.py index 6bdaa5a12..e54afc757 100644 --- a/python/gtsam/tests/test_Cal3Fisheye.py +++ b/python/gtsam/tests/test_Cal3Fisheye.py @@ -148,12 +148,12 @@ class TestCal3Fisheye(GtsamTestCase): s = np.arctan(r) / r self.assertEqual(s, 1.0) z = 1 - s = scaling_factor(r, z) + s = self.scaling_factor(r, z) self.assertEqual(s, 1.0/z) z = 2 - s = scaling_factor(r, z) + s = self.scaling_factor(r, z) self.assertEqual(s, 1.0/z) - s = scaling_factor(2*r, z) + s = self.scaling_factor(2*r, z) self.assertEqual(s, 1.0/z) @staticmethod