Skip to content

Commit

Permalink
resolving changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhruvanshu-Joshi committed Nov 21, 2023
1 parent 6c5bed5 commit a2ef7a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/logprob/test_transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,8 @@ def test_discrete_rv_unary_transform_fails():
conditional_logp({y_rv: y_rv.clone()})


def test_discrete_rv_multinary_transform_fails():
# add 2 tests. One fir supported and one for unsupported
def test_discrete_rv_multinary_transform():
y_rv = 5 + pt.random.poisson(1)
with pytest.raises(RuntimeError, match="could not be derived"):
conditional_logp({y_rv: y_rv.clone()})
Expand Down

0 comments on commit a2ef7a7

Please sign in to comment.