mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-15 06:52:39 +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_ = []
|
self._param_slices_ = []
|
||||||
for p in self._parameters_:
|
for p in self._parameters_:
|
||||||
p._direct_parent_ = self
|
p._direct_parent_ = self
|
||||||
|
p._highest_parent_ = self
|
||||||
p._parent_index_ = i
|
p._parent_index_ = i
|
||||||
i += 1
|
i += 1
|
||||||
|
for pi in p.flattened_parameters:
|
||||||
|
pi._highest_parent_ = self
|
||||||
for pi in p._parameters_:
|
for pi in p._parameters_:
|
||||||
pi._highest_parent_ = self
|
pi._highest_parent_ = self
|
||||||
not_unique = []
|
not_unique = []
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue