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

Issue when only 1 color is present #26

Open
luismieryteran opened this issue Nov 8, 2022 · 1 comment
Open

Issue when only 1 color is present #26

luismieryteran opened this issue Nov 8, 2022 · 1 comment
Labels

Comments

@luismieryteran
Copy link

Running rmvhyper(nn = 1, n = 2, k = 1) returns 0 whereas I think it should return 1, since we're making 1 draw from an urn with 2 balls of a single color. Am I misunderstanding something?

@twolodzko twolodzko added the bug label Nov 14, 2022
@twolodzko
Copy link
Owner

Hi, you're correct, it seems to be a bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants