mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-08 19:42:39 +02:00
some updates for params changes and likelihood fixes
This commit is contained in:
parent
6419401d60
commit
345e5b3e7c
3 changed files with 22 additions and 4 deletions
|
|
@ -146,7 +146,7 @@ class Param(ObservableArray, Constrainable, Gradcheckable, Indexable, Parameteri
|
|||
def __setitem__(self, s, val, update=True):
|
||||
super(Param, self).__setitem__(s, val, update=update)
|
||||
#self._notify_tied_parameters()
|
||||
if update:
|
||||
if update and self._s_not_empty(s):
|
||||
self._notify_parameters_changed()
|
||||
|
||||
#===========================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue