mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-10 20:42:39 +02:00
Maintains consistency with numpy arrays
This commit is contained in:
parent
90c2912ace
commit
69eb888ad1
1 changed files with 1 additions and 1 deletions
|
|
@ -592,7 +592,7 @@ class GP(Model):
|
|||
if self.output_dim == 1:
|
||||
return sim_one_dim(m, v)
|
||||
else:
|
||||
fsim = np.empty((self.output_dim, len(X), size))
|
||||
fsim = np.empty((self.output_dim, X.shape[0], size))
|
||||
for d in range(self.output_dim):
|
||||
if full_cov and v.ndim == 3:
|
||||
fsim[d] = sim_one_dim(m[:, d], v[:, :, d])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue