Skip to content

Commit e508779

Browse files
Kilian FatrasKilian Fatras
authored andcommitted
fixed test gauss
1 parent 37e3b29 commit e508779

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_stochastic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,8 @@ def test_dual_sgd_sinkhorn():
196196
reg = 1
197197
batch_size = 30
198198

199-
a = ot.datasets.get_1D_gauss(n, 15, 5) # m= mean, s= std
200-
b = ot.datasets.get_1D_gauss(n, 15, 5)
199+
a = ot.datasets.make_1D_gauss(n, 15, 5) # m= mean, s= std
200+
b = ot.datasets.make_1D_gauss(n, 15, 5)
201201
X_source = np.arange(n, dtype=np.float64)
202202
Y_target = np.arange(n, dtype=np.float64)
203203
M = ot.dist(X_source.reshape((n, 1)), Y_target.reshape((n, 1)))

0 commit comments

Comments
 (0)