Skip to content
Snippets Groups Projects
Commit ffd08c14 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

compare absolute values

parent 103130f5
No related branches found
No related tags found
1 merge request!20Update test_gsvd.py
Pipeline #54753 passed
......@@ -107,7 +107,7 @@ def test_svd_signal():
[ 7.04651683e-01, 7.09553332e-01, 2.73037723e-04]])
[U,S,V] = bob.math.svd(A)
numpy.testing.assert_allclose(U, U_ref, rtol=1e-5, atol=1e-6)
numpy.testing.assert_allclose(numpy.abs(U), numpy.abs(U_ref), rtol=1e-5, atol=1e-6)
svd_relations(A)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment