Skip to content

Commit 28059eb

Browse files
committed
py2 error
1 parent e1bd94b commit 28059eb

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
@@ -13,7 +13,7 @@
1313
def test_gromov():
1414
np.random.seed(42)
1515

16-
n_samples = 50 # nb samples
16+
n_samples = 50.0 # nb samples
1717

1818
mu_s = np.array([0, 0])
1919
cov_s = np.array([[1, 0], [0, 1]])
@@ -161,7 +161,7 @@ def test_gromov_entropic_barycenter():
161161
def test_fgw():
162162
np.random.seed(42)
163163

164-
n_samples = 50 # nb samples
164+
n_samples = 50.0 # nb samples
165165

166166
mu_s = np.array([0, 0])
167167
cov_s = np.array([[1, 0], [0, 1]])

0 commit comments

Comments
 (0)