Skip to content

Conversation

@djkirkham
Copy link
Contributor

Newer versions of numpy don't allow floats to be used as indices to arrays, even if they are integer-valued. This PR makes the tests pass (plus iris integration tests) with newer version of numpy, but I have not assessed other places in the code which may cause errors but are not caught by tests.

@coveralls
Copy link

coveralls commented Mar 16, 2017

Coverage Status

Changes Unknown when pulling b457117 on djkirkham:iris-conda-forge-fixes into ** on SciTools:master**.

@marqh marqh merged commit 00cf192 into SciTools:master Mar 27, 2017
@pelson
Copy link
Member

pelson commented Mar 30, 2017

I don't think this is the right thing to do here. XRef SciTools/iris#2468.

@pelson
Copy link
Member

pelson commented Mar 30, 2017

Though I confess - I have no idea what the author was aiming for with the zeros use to determine the system float type (which can be got with np.float_).

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.

4 participants