From 0f67ee994cb08fe34a948c4c0a1dd6681c22253e Mon Sep 17 00:00:00 2001
From: Justin Carpentier <justin.carpentier@inria.fr>
Date: Wed, 29 Jan 2020 20:35:08 +0100
Subject: [PATCH] test: fix accuracy

---
 unittest/python/test_self_adjoint_eigen_solver.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/unittest/python/test_self_adjoint_eigen_solver.py b/unittest/python/test_self_adjoint_eigen_solver.py
index bc2670d..a919ebf 100644
--- a/unittest/python/test_self_adjoint_eigen_solver.py
+++ b/unittest/python/test_self_adjoint_eigen_solver.py
@@ -13,4 +13,4 @@ es = eigenpy.SelfAdjointEigenSolver(A)
 V = es.eigenvectors()
 D = es.eigenvalues()
 
-assert eigenpy.is_approx(A.dot(V),V.dot(np.diag(D)))
+assert eigenpy.is_approx(A.dot(V),V.dot(np.diag(D)),1e-6)
-- 
GitLab