mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-02 14:45:15 +02:00
all tests either notimplemented or known to fail
This commit is contained in:
parent
6637eb7ac8
commit
a307d528ef
3 changed files with 4 additions and 4 deletions
|
|
@ -781,8 +781,8 @@ class Parameterizable(OptimizationHandlable):
|
|||
if param in self._parameters_ and index is not None:
|
||||
self.remove_parameter(param)
|
||||
self.add_parameter(param, index)
|
||||
elif param.has_parent():
|
||||
raise HierarchyError, "parameter {} already in another model ({}), create new object (or copy) for adding".format(param._short(), param._highest_parent_._short())
|
||||
#elif param.has_parent():
|
||||
# raise HierarchyError, "parameter {} already in another model ({}), create new object (or copy) for adding".format(param._short(), param._highest_parent_._short())
|
||||
elif param not in self._parameters_:
|
||||
if param.has_parent():
|
||||
parent = param._parent_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue