Skip to content

Commit d5a011f

Browse files
Daniel-Nicholtwiecki
authored andcommitted
Changed docstring to correctly specify the support for Categorical (changed to 0-indexed) (#2493)
1 parent 0a22388 commit d5a011f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymc3/distributions/discrete.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ class Categorical(Discrete):
482482
.. math:: f(x \mid p) = p_x
483483
484484
======== ===================================
485-
Support :math:`x \in \{1, 2, \ldots, |p|\}`
485+
Support :math:`x \in \{0, 1, \ldots, |p|-1\}`
486486
======== ===================================
487487
488488
Parameters

0 commit comments

Comments
 (0)