Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix sample-(neg-)binomial mangling arguments #124

Merged
merged 1 commit into from Feb 11, 2013

Conversation

lionandoil
Copy link
Contributor

was:

=> (sample-binomial 10) ; expect a seq of 10 0's and 1's
1
=> (sample-binomial 1 :size 10) ; expect a single number between 0 and 10
(4 9 5 7 4 8 4 6 6 6)

is:

=> (sample-binomial 10)
(1 1 1 0 0 1 0 0 1 1)
=> (sample-binomial 1 :size 10)
6

see also #109

…(without changing their function signatures)
alexott added a commit that referenced this pull request Feb 11, 2013
fix sample-(neg-)binomial mangling arguments
@alexott alexott merged commit 18e89de into incanter:master Feb 11, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants