mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-30 14:35:15 +02:00
Exception fixes for Python 3 compat
This commit is contained in:
parent
f961520c42
commit
2b8ef1041b
2 changed files with 3 additions and 3 deletions
|
|
@ -182,7 +182,7 @@ class Heaviside(GPTransformation):
|
|||
return np.where(f>0, 1, 0)
|
||||
|
||||
def dtransf_df(self,f):
|
||||
raise NotImplementedError, "This function is not differentiable!"
|
||||
raise NotImplementedError("This function is not differentiable!")
|
||||
|
||||
def d2transf_df2(self,f):
|
||||
raise NotImplementedError, "This function is not differentiable!"
|
||||
raise NotImplementedError("This function is not differentiable!")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue