Skip to content

Commit 777ff26

Browse files
committed
fix
1 parent 135de02 commit 777ff26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymc3/gp/gp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ def _get_cond_vals(self, other=None):
217217
if other is None:
218218
return self.X, self.y, self.noise, self.cov_func, self.mean_func,
219219
else:
220-
return self.X, self.y, self.noise, other.cov_func, other.mean_func
220+
return other.X, other.y, other.noise, other.cov_func, other.mean_func
221221

222222
def conditional(self, name, n_points, Xnew, given=None, pred_noise=False):
223223
# try to get n_points from X, (via cast to int?), error if cant and n_points is none

0 commit comments

Comments
 (0)