You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The max argument of probability distributions in dist_spec is not really the maximum, but the length of the PMF. Since its first index corresponds to 0, the maximum is actually max - 1.
There could be two solutions:
changing the interpretation of max to correctly reflect the maximum
changing the name of the argument to length
Since (1) is probably more intuitive to the user, I think it's the preferred option but would require more code changes.
The text was updated successfully, but these errors were encountered:
The
max
argument of probability distributions indist_spec
is not really the maximum, but the length of the PMF. Since its first index corresponds to 0, the maximum is actuallymax - 1
.There could be two solutions:
max
to correctly reflect the maximumlength
Since (1) is probably more intuitive to the user, I think it's the preferred option but would require more code changes.
The text was updated successfully, but these errors were encountered: