Navigation Menu

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

Fixed #754 to avoid futurewarnings in index sequences #755

Merged
merged 4 commits into from Aug 3, 2018
Merged

Conversation

bmcfee
Copy link
Member

@bmcfee bmcfee commented Aug 3, 2018

Reference Issue

Fixes #754

What does this implement/fix? Explain your changes.

Numpy 1.15 added FutureWarning for using lists as ndarray indexes. This PR tuple-izes all of the offending cases to avoid the warnings going forward.

Any other comments?

I don't anticipate any problems with this change. As long as the tests pass and the warnings are gone, I think we can merge without CR.


This change is Reviewable

@bmcfee bmcfee added the enhancement Does this improve existing functionality? label Aug 3, 2018
@bmcfee bmcfee added this to the 0.6.2 milestone Aug 3, 2018
@bmcfee bmcfee self-assigned this Aug 3, 2018
@bmcfee
Copy link
Member Author

bmcfee commented Aug 3, 2018

Note: one of the warning sources is upstream in scipy.fftpack, so we can't get them all right now.

Copy link
Member Author

@bmcfee bmcfee left a comment

Choose a reason for hiding this comment

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

Reviewed 2 of 3 files at r1, 6 of 6 files at r2.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@bmcfee
Copy link
Member Author

bmcfee commented Aug 3, 2018

Log is clean now -- all remaining futurewarnings are upstream.

@bmcfee bmcfee merged commit ec0ae75 into master Aug 3, 2018
@bmcfee bmcfee deleted the tuple-seq branch August 3, 2018 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Does this improve existing functionality?
Development

Successfully merging this pull request may close these issues.

Tuple indexing (numpy 1.15)
1 participant