We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5c9dd0 commit b238b65Copy full SHA for b238b65
test/metric_learn_test.py
@@ -530,7 +530,7 @@ def grad(M):
530
epsilon = np.sqrt(np.finfo(float).eps)
531
rel_diff = (check_grad(fun, grad, M.ravel()) /
532
np.linalg.norm(approx_fprime(M.ravel(), fun, epsilon)))
533
- np.testing.assert_almost_equal(rel_diff, 0., decimal=10)
+ np.testing.assert_almost_equal(rel_diff, 0., decimal=6)
534
535
def test_simple_example(self):
536
"""Test on a simple example.
0 commit comments