We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3dac86 commit e5f9532Copy full SHA for e5f9532
yeadon/tests/test_solid.py
@@ -285,8 +285,8 @@ def test_solid():
285
sol.set_orientation(position, C, True)
286
testing.assert_allclose(sol.pos, position)
287
testing.assert_allclose(sol._rot_mat, C)
288
- testing.assert_allclose(sol.end_pos, position + (height * C * array([[0],
289
- [0], [1]])))
+ testing.assert_allclose(sol.end_pos, position + (height * C @
+ array([[0], [0], [1]])))
290
testing.assert_allclose(sol.inertia, zeros((3, 3)))
291
292
#TODO: complete tests for solid and the remaining classes in solid.py
0 commit comments