diff --git a/GPy/core/transformations.py b/GPy/core/transformations.py index ff7c1d68..be8c3030 100644 --- a/GPy/core/transformations.py +++ b/GPy/core/transformations.py @@ -56,7 +56,7 @@ class negative_exponent(transformation): def __init__(self): self.domain= 'negative' def f(self,x): - return -np.exp(self.x) + return -np.exp(x) def finv(self,x): return np.log(-x) def gradfactor(self,f): @@ -66,7 +66,6 @@ class negative_exponent(transformation): def __str__(self): return '(-ve)' - class logistic(transformation): def __init__(self,lower,upper): self.domain= 'bounded'