Skip to content

Commit

Permalink
Rename _array -> _data
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffLIrion committed Nov 4, 2023
1 parent a2ae9e0 commit adc0f76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graphslam/pose/base_pose.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

# ======================================================================= #
# #
Expand Down

0 comments on commit adc0f76

Please sign in to comment.