summaryrefslogtreecommitdiff
path: root/ot/datasets.py
diff options
context:
space:
mode:
authorRémi Flamary <remi.flamary@gmail.com>2016-11-07 16:51:42 +0100
committerRémi Flamary <remi.flamary@gmail.com>2016-11-07 16:51:42 +0100
commit8b41e141e8ce4ad14a458cb363f46d3176644116 (patch)
tree84110632f983344feaa757b228c67a1b9c6c3aa1 /ot/datasets.py
parente485078116660e53b47aa1f7b96288b9b413c3eb (diff)
add log and epsilon scaling stabilizations
Diffstat (limited to 'ot/datasets.py')
-rw-r--r--ot/datasets.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ot/datasets.py b/ot/datasets.py
index c750812..8605691 100644
--- a/ot/datasets.py
+++ b/ot/datasets.py
@@ -28,7 +28,7 @@ def get_1D_gauss(n,m,s):
"""
x=np.arange(n,dtype=np.float64)
- h=np.exp(-(x-m)**2/(2*s^2))
+ h=np.exp(-(x-m)**2/(2*s**2))
return h/h.sum()