diff --git a/unittest/python/test_self_adjoint_eigen_solver.py b/unittest/python/test_self_adjoint_eigen_solver.py index bc2670d104f8152af79209d6f652f3ffcfbbed3b..a919ebf477e7fc5dc184a7cf786f4c73c9d6e235 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)