mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-11 13:02:38 +02:00
changed priority of observable array to 0
This commit is contained in:
parent
de9f12f6a4
commit
745637d459
1 changed files with 1 additions and 0 deletions
|
|
@ -25,6 +25,7 @@ class ObservableArray(ListArray, Observable):
|
||||||
will be called every time this array changes. The callable
|
will be called every time this array changes. The callable
|
||||||
takes exactly one argument, which is this array itself.
|
takes exactly one argument, which is this array itself.
|
||||||
"""
|
"""
|
||||||
|
__array_priority__ = 0 # Never give back Param
|
||||||
def __new__(cls, input_array):
|
def __new__(cls, input_array):
|
||||||
obj = super(ObservableArray, cls).__new__(cls, input_array).view(cls)
|
obj = super(ObservableArray, cls).__new__(cls, input_array).view(cls)
|
||||||
obj._observers_ = {}
|
obj._observers_ = {}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue