susantoj / PYPOWER-Dynamics

Python-based transient stability simulation program
BSD 3-Clause "New" or "Revised" License
57 stars 31 forks source link

float indexing not allowed for np >= 1.12 #16

Closed jurasofish closed 4 years ago

jurasofish commented 4 years ago

Indexing with floats is not allowed since numpy 1.12: https://docs.scipy.org/doc/numpy-1.12.0/release.html

All examples run successfully with this change.

susantoj commented 4 years ago

Great, thanks @jurasofish !