Skip to content

Commit 76a33e1

Browse files
committed
skip checks for speed
1 parent 18bfd69 commit 76a33e1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

spatialmath/pose2d.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -517,9 +517,9 @@ def inv(self):
517517
518518
"""
519519
if len(self) == 1:
520-
return SE2(base.rt2tr(self.R.T, -self.R.T @ self.t))
520+
return SE2(base.rt2tr(self.R.T, -self.R.T @ self.t), check=False)
521521
else:
522-
return SE2([base.rt2tr(x.R.T, -x.R.T @ x.t) for x in self])
522+
return SE2([base.rt2tr(x.R.T, -x.R.T @ x.t) for x in self], check=False)
523523

524524
def SE3(self, z=0):
525525
"""

0 commit comments

Comments
 (0)