We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3773f16 commit eced3efCopy full SHA for eced3ef
pymc3/tests/test_distributions.py
@@ -2740,6 +2740,6 @@ def test_hierarchical_logpt():
2740
# Make sure that hierarchical random variables are replaced with their
2741
# log-likelihood space variables in the log-likelhood
2742
logpt_ancestors = list(ancestors([m.logpt]))
2743
- assert not any(isinstance(v.owner.op, RandomVariable) for v in logpt_ancestors if v.owner)
+ assert not any(isinstance(v, RandomVariable) for v in logpt_ancestors)
2744
assert x.tag.value_var in logpt_ancestors
2745
assert y.tag.value_var in logpt_ancestors
0 commit comments