Thanks to visit codestin.com
Credit goes to github.com

Skip to content

BUG: Fix problems with linalg.norm with ord=numpy.inf #10688

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

Closed
wants to merge 2 commits into from

Conversation

the-master-guy
Copy link

@the-master-guy the-master-guy commented Mar 3, 2018

Placed the fix in a location so that other edge cases are not incorrect, and added a test to check for the specific edge case.

Closes #10655

Moved it later in the function to check whether a valid axis has been specified.
@charris charris changed the title Addressed concerns with linalg.norm with ord=numpy.inf #10655 BUG: Fix problems with linalg.norm with ord=numpy.inf Mar 4, 2018
Copy link
Member

@eric-wieser eric-wieser left a comment

Choose a reason for hiding this comment

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

The test currently fails.

Additionally, this does the wrong thing for inputs larger than 1d, or for the keepdims argument.

I think this would be better implemented via #10635.

@eric-wieser
Copy link
Member

@hameerabbasi: want to take this on using initial?

@hameerabbasi
Copy link
Contributor

@eric-wieser On it. 😀

@eric-wieser
Copy link
Member

Closing in favor of #10992

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

Successfully merging this pull request may close these issues.

4 participants