mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-09 03:52:39 +02:00
parent observer now static and always last
This commit is contained in:
parent
f1487c6935
commit
023203dc3a
3 changed files with 5 additions and 3 deletions
|
|
@ -161,6 +161,8 @@ class Param(Constrainable, ObservableArray, Gradcheckable):
|
|||
return new_arr
|
||||
def __setitem__(self, s, val):
|
||||
super(Param, self).__setitem__(s, val)
|
||||
if self.has_parent():
|
||||
self._direct_parent_._notify_parameters_changed()
|
||||
#self._notify_observers()
|
||||
|
||||
#===========================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue