Skip to content

Commit 89a2e0a

Browse files
committed
pep8 + err
1 parent 9bb7d40 commit 89a2e0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_gromov.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def test_gromov():
3939
np.testing.assert_allclose(
4040
q, G.sum(0), atol=1e-04) # cf convergence gromov
4141

42-
Id = (1 / 1.0*n_samples) * np.eye(n_samples, n_samples)
42+
Id = (1 / (1.0 * n_samples)) * np.eye(n_samples, n_samples)
4343

4444
np.testing.assert_allclose(
4545
G, np.flipud(Id), atol=1e-04)
@@ -193,7 +193,7 @@ def test_fgw():
193193
np.testing.assert_allclose(
194194
q, G.sum(0), atol=1e-04) # cf convergence fgw
195195

196-
Id = (1 / 1.0*n_samples) * np.eye(n_samples, n_samples)
196+
Id = (1 / (1.0 * n_samples)) * np.eye(n_samples, n_samples)
197197

198198
np.testing.assert_allclose(
199199
G, np.flipud(Id), atol=1e-04) # cf convergence gromov

0 commit comments

Comments
 (0)