From 0c6089a09db82c8b9e7ee3487d482db0178c8c67 Mon Sep 17 00:00:00 2001
From: Paul McCarthy <pauldmccarthy@gmail.com>
Date: Fri, 14 Jul 2017 12:14:56 +0100
Subject: [PATCH] Floating point numbers are good for nothing

---
 tests/test_transform.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/test_transform.py b/tests/test_transform.py
index 2913b5cb7..62943d51b 100644
--- a/tests/test_transform.py
+++ b/tests/test_transform.py
@@ -149,8 +149,8 @@ def test_compose_and_decompose():
     of = np.array(of)
     rot = np.array(rot)
 
-    assert np.all(sc == [1, 1, 1])
-    assert np.all(of == [0, 0, 0])
+    assert np.all(np.isclose(sc,  [1, 1, 1]))
+    assert np.all(np.isclose(of,  [0, 0, 0]))
     assert np.all(np.isclose(rot, rots))
 
 
-- 
GitLab