Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #376 from JuliaPlots/mkb/dist-fix
use Int for range in discrete distributions; close #308
- Loading branch information
224277f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For anyone watching, I was very in doubt whether to go
Int.(default_range(dist))
here orpromote(default_range(dist)...)
. I opted for the first because I'm pretty sure Integer should always be correct.