mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-05 01:32:40 +02:00
bug in setting _highest_parent_ fixed
This commit is contained in:
parent
cec766b723
commit
ebd93574d9
1 changed files with 3 additions and 0 deletions
|
|
@ -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 = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue