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

MAINT: clean up LSAP error checking #13860

Merged
merged 2 commits into from Apr 14, 2021
Merged

Conversation

pmla
Copy link
Contributor

@pmla pmla commented Apr 13, 2021

What does this implement/fix?

The error checking in the linear_sum_assignment module is split between the interface code and the solver code. Here I have moved all of the error checking into the solver code.

I have also defined error codes for infeasible cost matrices and invalid numeric entries in the solver code.

@peterbell10 would you like to take a look?

Copy link
Member

@peterbell10 peterbell10 left a comment

Choose a reason for hiding this comment

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

LGTM. Cleaner separation of binding code from error checking.

@peterbell10 peterbell10 merged commit 334dedc into scipy:master Apr 14, 2021
@tylerjereddy tylerjereddy added this to the 1.7.0 milestone Apr 15, 2021
@tylerjereddy tylerjereddy added the maintenance Items related to regular maintenance tasks label Apr 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Items related to regular maintenance tasks scipy.optimize
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants