Circuitscape / Circuitscape.py

Circuitscape uses electronic circuit theory to solve problems in landscape ecology.
https://www.circuitscape.org/
Other
27 stars 17 forks source link

Insure index is an integer #92

Closed dkav closed 6 years ago

dkav commented 6 years ago

Indexing Numpy arrays with floats raises IndexError, e.g., a[0, 0.0]. See https://github.com/numpy/numpy/blob/master/doc/release/1.12.0-notes.rst#deprecationwarning-to-error.

dkav commented 6 years ago

FYI - With this change I was (finally) able to be create a new build of Circuitscape that worked with Linkage Mapper.