rwl / PYPOWER

Port of MATPOWER to Python
http://rwl.github.io/PYPOWER/api/
Other
329 stars 110 forks source link

Fix index error in numpy 1.12 #45

Closed chengts95 closed 7 years ago

chengts95 commented 7 years ago

Fixed Index Error in numpy 1.12 : Index deprecated warning from numpy < 1.12 has turned into an error, the indexes made by arithmetic operation should be explicitly converted to integers.