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

backport 0d array power fix to 1.8 #4419

Merged
merged 2 commits into from
Mar 2, 2014

Conversation

juliantaylor
Copy link
Contributor

backport of gh-4145

Operations such as `x**array([2])` would convert the
2 into an integer and loose the dimension information,
because the array (at this time, it is deprecated),
supports `__index__` even though it is not 0-d.

This fixes it, by not trying the index machinery
when it was an array, since it is unnecessary.

Closes numpygh-4145
@juliantaylor
Copy link
Contributor Author

this should be the last thing for the rc, after merge I'll tag and build the windows binaries

juliantaylor added a commit that referenced this pull request Mar 2, 2014
backport 0d array power fix to 1.8
@juliantaylor juliantaylor merged commit f816b0a into numpy:maintenance/1.8.x Mar 2, 2014
@juliantaylor juliantaylor deleted the scalar-0d branch March 2, 2014 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant