mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-30 14:35:15 +02:00
Various Python 3 fixes
This commit is contained in:
parent
4642f5ac2b
commit
35aec1c6d0
2 changed files with 3 additions and 3 deletions
|
|
@ -581,7 +581,7 @@ class Indexable(Nameable, Updateable):
|
|||
if len(transforms) == 0:
|
||||
transforms = which.properties()
|
||||
removed = np.empty((0,), dtype=int)
|
||||
for t in transforms:
|
||||
for t in list(transforms):
|
||||
unconstrained = which.remove(t, self._raveled_index())
|
||||
removed = np.union1d(removed, unconstrained)
|
||||
if t is __fixed__:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue