summaryrefslogtreecommitdiff
path: root/examples/plot_optim_OTreg.py
diff options
context:
space:
mode:
authorRémi Flamary <remi.flamary@gmail.com>2018-06-11 12:01:27 +0200
committerRémi Flamary <remi.flamary@gmail.com>2018-06-11 12:01:27 +0200
commitef17fcd2d5e85b986ff21d8039483bdaf03e37da (patch)
tree25cf5915a26273b3e0726494ed4a1405ce1e2786 /examples/plot_optim_OTreg.py
parent8046b8c424d7b80f520e212e2bf8de41cb624aab (diff)
parent530dc93a60e9b81fb8d1b44680deea77dacf660b (diff)
Merge branch 'master' into smooth_ot
Diffstat (limited to 'examples/plot_optim_OTreg.py')
-rw-r--r--examples/plot_optim_OTreg.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/plot_optim_OTreg.py b/examples/plot_optim_OTreg.py
index 92df016..2c58def 100644
--- a/examples/plot_optim_OTreg.py
+++ b/examples/plot_optim_OTreg.py
@@ -42,8 +42,8 @@ n = 100 # nb bins
x = np.arange(n, dtype=np.float64)
# Gaussian distributions
-a = ot.datasets.get_1D_gauss(n, m=20, s=5) # m= mean, s= std
-b = ot.datasets.get_1D_gauss(n, m=60, s=10)
+a = ot.datasets.make_1D_gauss(n, m=20, s=5) # m= mean, s= std
+b = ot.datasets.make_1D_gauss(n, m=60, s=10)
# loss matrix
M = ot.dist(x.reshape((n, 1)), x.reshape((n, 1)))