Skip to content

Commit ae458e9

Browse files
committed
quaternion rand to qrand
1 parent 45f01ac commit ae458e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spatialmath/pose3d.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ def Rand(cls, N=1):
408408
409409
:seealso: :func:`spatialmath.quaternion.UnitQuaternion.Rand`
410410
"""
411-
return cls([base.q2r(base.rand()) for _ in range(0, N)], check=False)
411+
return cls([base.q2r(base.qrand()) for _ in range(0, N)], check=False)
412412

413413
@classmethod
414414
def Eul(cls, *angles, unit='rad'):

0 commit comments

Comments
 (0)