diff --git a/python/mujoco/bindings_test.py b/python/mujoco/bindings_test.py index c4544d7a..16b56546 100644 --- a/python/mujoco/bindings_test.py +++ b/python/mujoco/bindings_test.py @@ -645,7 +645,7 @@ class MuJoCoBindingsTest(parameterized.TestCase): # Check that the res argument must have the right size. with self.assertRaises(TypeError): - mujoco.mju_rotVecQuat(np.empty(4, np.float64), vec, quat) + mujoco.mju_rotVecQuat(np.zeros(4, np.float64), vec, quat) # Check that the vec argument must have the right size. with self.assertRaises(TypeError):