Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffLIrion committed Nov 4, 2023
1 parent 4e85a48 commit 5cc013f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion graphslam/edge/base_edge.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def plot(self, color=''):
raise NotImplementedError

def approx_equal(self, other, tol=1e-6):
"""Check whether two poses edges approximately equal.
"""Check whether two edges are approximately equal.
Parameters
----------
Expand Down
2 changes: 1 addition & 1 deletion graphslam/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ def plot(self, vertex_color='r', vertex_marker='o', vertex_markersize=3, edge_co
plt.show()

def approx_equal(self, other, tol=1e-6):
"""Check whether two graphs are (approximately) equal.
"""Check whether two graphs are approximately equal.
Parameters
----------
Expand Down
4 changes: 1 addition & 3 deletions tests/test_base_edge.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,7 @@ def test_plot(self):
e.plot()

def test_approx_equal(self):
"""Test that the ``approx_equal`` method works as expected.
"""
"""Test that the ``approx_equal`` method works as expected."""
p1 = PoseR2([1, 2])
p2 = PoseR2([3, 4])
estimate = PoseR2([0, 0])
Expand Down

0 comments on commit 5cc013f

Please sign in to comment.