mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-08 03:22:38 +02:00
right active dims when adding kernels
This commit is contained in:
parent
e26e737014
commit
d5a8e5dd3a
2 changed files with 10 additions and 4 deletions
|
|
@ -176,5 +176,7 @@ class Add(CombinationKernel):
|
|||
for p in other_params:
|
||||
other.remove_parameter(p)
|
||||
self.add_parameters(*other_params)
|
||||
else: self.add_parameter(other)
|
||||
else:
|
||||
self.add_parameter(other)
|
||||
self.input_dim, self.active_dims = self.get_input_dim_active_dims(self.parts)
|
||||
return self
|
||||
Loading…
Add table
Add a link
Reference in a new issue