mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-09 12:02:38 +02:00
bugfix: slicing
This commit is contained in:
parent
87bea368d1
commit
7133fd15d8
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ class _Slice_wrap(object):
|
|||
self.X2 = self.k._slice_X(X2) if X2 is not None else X2
|
||||
self.ret = True
|
||||
else:
|
||||
assert X.shape[1] == self.k.input_dim, "You did not specify active_dims and X has wrong shape: X_dim={} -- input_dim={}".format(X.shape[1], self.input_dim)
|
||||
assert X.shape[1] == self.k.input_dim, "You did not specify active_dims and X has wrong shape: X_dim={} -- input_dim={}".format(X.shape[1], self.k.input_dim)
|
||||
self.X = X
|
||||
self.X2 = X2
|
||||
self.ret = False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue