Merge branch 'params' of github.com:SheffieldML/GPy into params

This commit is contained in:
James Hensman 2014-01-24 15:56:49 +00:00
commit a71bbc0d21

View file

@ -216,8 +216,11 @@ class Parameterized(Constrainable, Pickleable, Observable):
self._param_slices_ = []
for p in self._parameters_:
p._direct_parent_ = self
p._highest_parent_ = self
p._parent_index_ = i
i += 1
for pi in p.flattened_parameters:
pi._highest_parent_ = self
for pi in p._parameters_:
pi._highest_parent_ = self
not_unique = []