mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-03 16:52:39 +02:00
Merge branch 'devel' of github.com:SheffieldML/GPy into devel
This commit is contained in:
commit
f403e5b0b7
11 changed files with 95 additions and 154 deletions
|
|
@ -212,7 +212,7 @@ class model(parameterised):
|
|||
currently_constrained = self.all_constrained_indices()
|
||||
to_make_positive = []
|
||||
for s in positive_strings:
|
||||
for i in self.grep_param_names(s):
|
||||
for i in self.grep_param_names(".*"+s):
|
||||
if not (i in currently_constrained):
|
||||
#to_make_positive.append(re.escape(param_names[i]))
|
||||
to_make_positive.append(i)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue