Skip to content
Snippets Groups Projects
Commit 0c6089a0 authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

Floating point numbers are good for nothing

parent 0478c7c2
No related branches found
No related tags found
No related merge requests found
...@@ -149,8 +149,8 @@ def test_compose_and_decompose(): ...@@ -149,8 +149,8 @@ def test_compose_and_decompose():
of = np.array(of) of = np.array(of)
rot = np.array(rot) rot = np.array(rot)
assert np.all(sc == [1, 1, 1]) assert np.all(np.isclose(sc, [1, 1, 1]))
assert np.all(of == [0, 0, 0]) assert np.all(np.isclose(of, [0, 0, 0]))
assert np.all(np.isclose(rot, rots)) assert np.all(np.isclose(rot, rots))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment