From e7ed6a89323456b17e0e09758cb326274d9d037a Mon Sep 17 00:00:00 2001 From: Olivier Martin Date: Sat, 28 Apr 2018 19:35:21 -0400 Subject: [PATCH] Update modern_robotics.py Typo... --- code/Python/modern_robotics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/Python/modern_robotics.py b/code/Python/modern_robotics.py index a4d74cd..1c087f4 100644 --- a/code/Python/modern_robotics.py +++ b/code/Python/modern_robotics.py @@ -144,7 +144,7 @@ Output: [-1.20919958, 1.20919958, 0]] ''' if NearZero(np.linalg.norm(R - np.eye(3))): - return np.zeros(3,3) + return np.zeros((3,3)) elif NearZero(np.trace(R) + 1): if not NearZero(1 + R[2][2]): omg = (1.0 / sqrt(2 * (1 + R[2][2]))) \