Skip to content

Commit 1f85beb

Browse files
committed
bugfix: SE3.Exp() would not accept se(3) matrix
1 parent 8a9b410 commit 1f85beb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎spatialmath/pose3d.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1329,7 +1329,7 @@ def Exp(cls, S, check=True):
13291329
if base.isvector(S, 6):
13301330
return cls(base.trexp(base.getvector(S)), check=False)
13311331
else:
1332-
return cls([base.trexp(s) for s in S], check=False)
1332+
return cls(base.trexp(S), check=False)
13331333

13341334

13351335
@classmethod

0 commit comments

Comments
 (0)