mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-15 06:52:39 +02:00
oops index operations had an assignment error
This commit is contained in:
parent
b1c98c2c3d
commit
0919544eb7
1 changed files with 0 additions and 2 deletions
|
|
@ -215,8 +215,6 @@ class ParameterIndexOperationsView(object):
|
|||
|
||||
def remove(self, prop, indices):
|
||||
removed = self._param_index_ops.remove(prop, indices+self._offset)
|
||||
if self[prop].size == 0:
|
||||
del self[prop]
|
||||
if removed.size > 0:
|
||||
return removed - self._size + 1
|
||||
return removed
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue