Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Negative integer powers error with numpy 1.12 #1187
Testing with numpy 1.12, multiple errors of form:
These are because of a recent change in numpy - see https://docs.scipy.org/doc/numpy/release.html#power-and-raise-errors-for-integer-to-negative-integer-powers
Maybe the calculation should be in floating point rather than integers or something?