Skip to content

BUG: Do not elide complex abs() for 1.13#9124

Merged
charris merged 5 commits intonumpy:maintenance/1.13.xfrom
juliantaylor:abs-no-elide
May 16, 2017
Merged

BUG: Do not elide complex abs() for 1.13#9124
charris merged 5 commits intonumpy:maintenance/1.13.xfrom
juliantaylor:abs-no-elide

Conversation

@juliantaylor
Copy link
Copy Markdown
Contributor

backport of gh-9110

complex abs() results in float so it cannot be elided.

Closes numpygh-9109
As in binary operations, only elide unary operations on basic types to
avoid odd interactions e.g. with user dtypes.
@charris charris added the 08 - Backport Used to tag backport PRs label May 16, 2017
@charris charris changed the title do not elide complex abs() for 1.13 BUG: Do not elide complex abs() for 1.13 May 16, 2017
@charris charris added this to the 1.13.0 release milestone May 16, 2017
@charris charris merged commit aabcbf2 into numpy:maintenance/1.13.x May 16, 2017
@charris
Copy link
Copy Markdown
Member

charris commented May 16, 2017

Thanks Julian.

@juliantaylor juliantaylor deleted the abs-no-elide branch May 20, 2017 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants