10000 Get the right indices for testing. · kaigeli/spatialmath-python@ee65a38 · GitHub
[go: up one dir, main page]

Skip to content

Commit ee65a38

Browse files
committed
Get the right indices for testing.
1 parent 903c9e8 commit ee65a38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_pose3d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ def test_functions(self):
663663
# conversion to SE2
664664
poseSE3 = SE3.Tx(3.3) * SE3.Rz(1.5)
665665
poseSE2 = poseSE3.yaw_SE2()
666-
nt.assert_almost_equal(poseSE3.R[0:1,0:1], poseSE2.R[0:1,0:1])
666+
nt.assert_almost_equal(poseSE3.R[0:2,0:2], poseSE2.R[0:2,0:2])
667667
nt.assert_equal(poseSE3.x , poseSE2.x)
668668
nt.assert_equal(poseSE3.y , poseSE2.y)
669669

0 commit comments

Comments
 (0)
0