summaryrefslogtreecommitdiff
path: root/ot/datasets.py
diff options
context:
space:
mode:
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()