From adc0f76c2b9342ea2a237cc2cf169ea10c0454c0 Mon Sep 17 00:00:00 2001 From: Jeff Irion Date: Fri, 3 Nov 2023 22:05:25 -0700 Subject: [PATCH] Rename _array -> _data --- graphslam/pose/base_pose.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphslam/pose/base_pose.py b/graphslam/pose/base_pose.py index afd88ca..bbf2461 100644 --- a/graphslam/pose/base_pose.py +++ b/graphslam/pose/base_pose.py @@ -80,7 +80,7 @@ def approx_equal(self, other, tol=1e-6): """ # pylint: disable=protected-access - return np.linalg.norm(self._array - other._array) / max(np.linalg.norm(self._array), tol) < tol + return np.linalg.norm(self._data - other._data) / max(np.linalg.norm(self._data), tol) < tol # ======================================================================= # # #