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 bug in example #147

Merged
merged 3 commits into from
Mar 15, 2023
Merged

Fix bug in example #147

merged 3 commits into from
Mar 15, 2023

Conversation

SleepyBag
Copy link
Contributor

@SleepyBag SleepyBag commented Mar 15, 2023

This PR:

The only change in code :
ll = np.max(indices[preds[job]], initial=0) + 1
->
ll = np.max(indices[preds[job]], initial=-1) + 1

@N-Wouda
Copy link
Owner

N-Wouda commented Mar 15, 2023

@SleepyBag thanks for opening the issue and this PR. I'll have a look at it later tonight!

Copy link
Owner

@N-Wouda N-Wouda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@N-Wouda
Copy link
Owner

N-Wouda commented Mar 15, 2023

Nice catch, and thanks for the PR @SleepyBag!

@N-Wouda N-Wouda merged commit 025d08e into N-Wouda:master Mar 15, 2023
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.

Bug in examples/resource_constrained_project_scheduling_problem.ipynb:random_insert?
2 participants