Skip to content

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

Closed
the-master-guy wants to merge 2 commits into
numpy:masterfrom
the-master-guy:master
Closed

the-master-guy wants to merge 2 commits into
numpy:masterfrom
the-master-guy:master

Conversation

@the-master-guy

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

Copy link
Copy Markdown

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

@eric-wieser eric-wieser left a comment

Copy link
Copy Markdown
Member

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
Copy Markdown
Member

@hameerabbasi: want to take this on using initial?

@hameerabbasi

Copy link
Copy Markdown
Contributor

@eric-wieser On it. 😀

@eric-wieser

Copy link
Copy Markdown
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