Commit ffd08c14 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

compare absolute values

parent 103130f5
Pipeline #54753 passed with stage
in 11 minutes and 44 seconds
......@@ -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)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment