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.
test_replace_vars_in_graphs_nested_reference
1 parent 879dc0e commit d6535e8Copy full SHA for d6535e8
tests/test_pytensorf.py
@@ -694,7 +694,8 @@ def test_replace_vars_in_graphs_nested_reference():
694
# Confirm the original `y` variable is changed in place
695
# This is unavoidable if we want to respect the identity of the replacement variables
696
# As when imputing `neg_x` and `x` while evaluating `new_y` above and below.
697
- assert np.abs(y.eval({x_value: 100})) > 1
+ # This assertion could fail with probability 1/10000
698
+ assert np.abs(y.eval({x_value: 10000})) > 1
699
700
# Only replace `y`, same replacement as before
701
x = pm.HalfNormal.dist(1e-3, name="x")
0 commit comments