Commit 69d30712 authored by Tiago de Freitas Pereira's avatar Tiago de Freitas Pereira

Merge branch 'fix-gsvd' into 'master'

Fixing SVD test

See merge request !18
parents a904822d c5b0e8c6
Pipeline #21675 passed with stages
in 10 minutes and 17 seconds
......@@ -104,7 +104,7 @@ def test_svd_signal():
U_ref = numpy.array([[ 2.20825004e-03, -1.80819459e-03, -9.99995927e-01],
[ -7.09549949e-01, 7.04649416e-01, -2.84101853e-03],
[ -7.04651683e-01, -7.09553332e-01, -2.73037723e-04]])
[ 7.04651683e-01, 7.09553332e-01, 2.73037723e-04]])
[U,S,V] = bob.math.svd(A)
nose.tools.eq_((abs(U-U_ref) < 1e-8).all(), True)
......
Markdown is supported
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