mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-08 11:32: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
|
|
@ -92,7 +92,6 @@ class Parameterized(Parameterizable, Pickleable, Gradcheckable):
|
|||
self.constraints.update(param.constraints, start)
|
||||
self.priors.update(param.priors, start)
|
||||
self._parameters_.insert(index, param)
|
||||
param.add_observer(self, self._notify_parameters_changed)
|
||||
self.size += param.size
|
||||
else:
|
||||
raise RuntimeError, """Parameter exists already added and no copy made"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue