Skip to content

Commit 2a6e9ec

Browse files
authored
Merge branch 'master' into fix/base-plot-box
2 parents 5cf6565 + 2b2b57f commit 2a6e9ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spatialmath/base/transforms3d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -752,7 +752,7 @@ def angvec2r(theta: float, v: ArrayLike3, unit="rad", tol: float = 20) -> SO3Arr
752752
if np.linalg.norm(v) < tol * _eps:
753753
return np.eye(3)
754754

755-
θ = getunit(theta, unit)
755+
θ = getunit(theta, unit, vector=False)
756756

757757
# Rodrigue's equation
758758

0 commit comments

Comments
 (0)