mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-08 15:05:15 +02:00
python3x compatibility (need to convert range to a list to allow elements to be deleted)
This commit is contained in:
parent
acb12ffa7c
commit
209b92b817
1 changed files with 1 additions and 1 deletions
|
|
@ -182,7 +182,7 @@ class Model(ParamzModel, Priorizable):
|
|||
f[self.constraints[transformations.__fixed__]] = transformations.FIXED
|
||||
#TODO Check: Presumably only one constraint applies to each parameter?
|
||||
new_t_points = []
|
||||
todo = range(0,sum(f))
|
||||
todo = list(range(0,sum(f)))
|
||||
new_t_points = np.zeros_like(transformed_points)
|
||||
for c, ind in self.constraints.items():
|
||||
if c != transformations.__fixed__:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue