Skip to content

Commit

Permalink
fix one more test
Browse files Browse the repository at this point in the history
  • Loading branch information
OriolAbril committed Oct 11, 2022
1 parent c8a3c95 commit 37f3ebf
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions pymc/tests/test_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -1269,8 +1269,12 @@ def test_interval_missing_observations():
)
assert np.all(np.var(pp_trace["theta1"], 0) > 0.0)
assert np.all(np.var(pp_trace["theta2"], 0) > 0.0)
assert np.mean(pp_trace["theta1"][:, ~obs1.mask] - pp_trace["theta1_observed"]) == 0.0
assert np.mean(pp_trace["theta2"][:, ~obs2.mask] - pp_trace["theta2_observed"]) == 0.0
assert np.isclose(
np.mean(pp_trace["theta1"][:, ~obs1.mask] - pp_trace["theta1_observed"]), 0
)
assert np.isclose(
np.mean(pp_trace["theta2"][:, ~obs2.mask] - pp_trace["theta2_observed"]), 0
)


def test_double_counting():
Expand Down

0 comments on commit 37f3ebf

Please sign in to comment.