mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-13 14:03:20 +02:00
merge the bug of fixing function
This commit is contained in:
parent
988889247c
commit
74b62ab3c3
1 changed files with 1 additions and 2 deletions
|
|
@ -407,8 +407,7 @@ class Indexable(Nameable, Observable):
|
||||||
if value is not None:
|
if value is not None:
|
||||||
self[:] = value
|
self[:] = value
|
||||||
|
|
||||||
index = self._raveled_index()
|
index = self.unconstrain()
|
||||||
#reconstrained = self.unconstrain()
|
|
||||||
index = self._add_to_index_operations(self.constraints, index, __fixed__, warning)
|
index = self._add_to_index_operations(self.constraints, index, __fixed__, warning)
|
||||||
self._highest_parent_._set_fixed(self, index)
|
self._highest_parent_._set_fixed(self, index)
|
||||||
self.notify_observers(self, None if trigger_parent else -np.inf)
|
self.notify_observers(self, None if trigger_parent else -np.inf)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue