mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-09 03:52:39 +02:00
bugfix: fixing through regular expression matching
This commit is contained in:
parent
3a8a1914f2
commit
df1ec5d214
1 changed files with 2 additions and 2 deletions
|
|
@ -339,8 +339,8 @@ class ParamConcatenation(object):
|
||||||
self.update_all_params()
|
self.update_all_params()
|
||||||
constrain_positive.__doc__ = Param.constrain_positive.__doc__
|
constrain_positive.__doc__ = Param.constrain_positive.__doc__
|
||||||
|
|
||||||
def constrain_fixed(self, warning=True):
|
def constrain_fixed(self, value=None, warning=True, trigger_parent=True):
|
||||||
[param.constrain_fixed(warning) for param in self.params]
|
[param.constrain_fixed(value, warning, trigger_parent) for param in self.params]
|
||||||
constrain_fixed.__doc__ = Param.constrain_fixed.__doc__
|
constrain_fixed.__doc__ = Param.constrain_fixed.__doc__
|
||||||
fix = constrain_fixed
|
fix = constrain_fixed
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue