some updates for params changes and likelihood fixes

This commit is contained in:
Max Zwiessele 2014-02-14 15:05:38 +00:00
parent 6419401d60
commit 345e5b3e7c
3 changed files with 22 additions and 4 deletions

View file

@ -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()
#===========================================================================