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

Raise error when CI_NODE_INDEX >= CI_NODE_TOTAL #12

Merged
merged 1 commit into from
Feb 15, 2015

Conversation

lynxnathan
Copy link
Contributor

Hey, thanks for the great work on this! Very helpful.

I was just bit by this issue: when the CI_NODE_INDEX is equal or higher than CI_NODE_TOTAL knapsack blows up in a non-obvious way and the user may not be aware of what is causing the issue. I added a sanity check for this on BaseDistributor.

Hope you find this useful.

@ArturT
Copy link
Member

ArturT commented Feb 15, 2015

Thanks for contribution. :)

ArturT pushed a commit that referenced this pull request Feb 15, 2015
Raise error when CI_NODE_INDEX >= CI_NODE_TOTAL
@ArturT ArturT merged commit f9c6bcf into KnapsackPro:master Feb 15, 2015
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.

2 participants