switch input_sensitivity function to model

This commit is contained in:
Zhenwen Dai 2014-03-04 14:25:11 +00:00
parent 0f37cc721b
commit b9dcb7f640
4 changed files with 14 additions and 2 deletions

View file

@ -89,7 +89,7 @@ class Kern(Parameterized):
"""
Returns the sensitivity for each dimension of this kernel.
"""
return np.zeros(self.input_dim)
return self.kern.input_sensitivity()
def __add__(self, other):
""" Overloading of the '+' operator. for more control, see self.add """