Skip to content

Commit dfaba55

Browse files
committed
add test emd2 multi
1 parent 7371b2f commit dfaba55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_ot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def test_emd2_multi():
176176
ot.toc('multi proc : {} s')
177177

178178
np.testing.assert_allclose(emd1, emdn)
179-
np.testing.assert_allclose(emd1, emdn2)
179+
np.testing.assert_allclose(emd1, emdn2, rtol=1e-6)
180180

181181
# emd loss multipro proc with log
182182
ot.tic()

0 commit comments

Comments
 (0)