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

BUG: Fix linear_sum_assignment hanging on an undefined matrix #7031

Merged
merged 1 commit into from
Feb 16, 2017

Conversation

evanlimanto
Copy link
Contributor

Fixes issues #6370, #7005 by checking if the matrix contains inf or nan. Also added additional checks for non-numeric data types. Related: #6900

@rgommers rgommers added maintenance Items related to regular maintenance tasks scipy.optimize labels Feb 16, 2017
@rgommers rgommers merged commit 0dce43f into scipy:master Feb 16, 2017
@rgommers
Copy link
Member

LGTM, thanks @evanlimanto

@pv
Copy link
Member

pv commented Feb 16, 2017 via email

@rgommers
Copy link
Member

Dtypes should not be assumed to be singletons (this is not true for all types)

Thanks @pv, didn't know that. Will send a follow-up PR now.

rgommers added a commit to rgommers/scipy that referenced this pull request Feb 16, 2017
Follow-up to scipygh-7031.  Thanks to @pv for pointing out that
dtypes must not be considered singletons.
evanlimanto pushed a commit to evanlimanto/scipy that referenced this pull request Mar 17, 2017
Follow-up to scipygh-7031.  Thanks to @pv for pointing out that
dtypes must not be considered singletons.
evanlimanto pushed a commit to evanlimanto/scipy that referenced this pull request Mar 23, 2017
Follow-up to scipygh-7031.  Thanks to @pv for pointing out that
dtypes must not be considered singletons.
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.

3 participants