Skip to content

Make compatible with numpy 1.12 stricter indexing#1146

Merged
tmylk merged 1 commit into
developfrom
compat_numpy_12
Feb 14, 2017
Merged

Make compatible with numpy 1.12 stricter indexing#1146
tmylk merged 1 commit into
developfrom
compat_numpy_12

Conversation

@tmylk
Copy link
Copy Markdown
Contributor

@tmylk tmylk commented Feb 14, 2017

In numpy 1.12:

DeprecationWarning to error
Indexing with floats raises IndexError, e.g., a[0, 0.0].
Indexing with non-integer array_like raises IndexError, e.g., a['1', '2']

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.

1 participant