Skip to content

Commit c2b850d

Browse files
committed
remove is_observed usage from TestMarginalVsMarginalSparse
1 parent 5348575 commit c2b850d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymc/tests/test_gp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -894,7 +894,7 @@ def testPredictCov(self):
894894
cov_func = pm.gp.cov.ExpQuad(3, [0.1, 0.2, 0.3])
895895
mean_func = pm.gp.mean.Constant(0.5)
896896
gp = pm.gp.MarginalSparse(mean_func=mean_func, cov_func=cov_func, approx="DTC")
897-
f = gp.marginal_likelihood("f", self.X, self.X, self.y, self.sigma, is_observed=False)
897+
f = gp.marginal_likelihood("f", self.X, self.X, self.y, self.sigma)
898898
mu1, cov1 = self.gp.predict(self.Xnew, pred_noise=True)
899899
mu2, cov2 = gp.predict(self.Xnew, pred_noise=True)
900900
npt.assert_allclose(mu1, mu2, atol=0, rtol=1e-3)

0 commit comments

Comments
 (0)