Skip to content

Commit bba6237

Browse files
committed
Docstring variable rename
1 parent 7fe1c81 commit bba6237

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytensor/tensor/basic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@ def switch(cond, ift, iff):
781781
782782
with pm.Model():
783783
x = pm.Categorical('x', np.array([0.1, 0.9]))
784-
y_ = pm.Bernoulli('y_', p=switch(x, 0.9, 0.1), shape=10)
784+
y = pm.Bernoulli('y', p=switch(x, 0.9, 0.1), shape=10)
785785
"""
786786

787787
where = switch

0 commit comments

Comments
 (0)