summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ml_exp/kernels.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ml_exp/kernels.py b/ml_exp/kernels.py
index 11679460b..599487b3a 100644
--- a/ml_exp/kernels.py
+++ b/ml_exp/kernels.py
@@ -50,7 +50,7 @@ def laplauss_kernel(X1,
X1_size = X1.shape[0]
X2_size = X2.shape[0]
if laplauss == 'gauss':
- i_sigma = -0.5 / (sigma*sigma)
+ i_sigma = -0.5 / (sigma**2)
elif laplauss == 'laplace':
i_sigma = -0.5 / sigma
else: