Closed Ablinne closed 7 years ago
The problem is in pp.helper.approx_jacobian
...
This is due to using the varargs
argument of np.gradient
to supply the grid. This is a new feature of numpy 1.13. Unfortunately this feature is not completely trivial to implement, see https://docs.scipy.org/doc/numpy-1.13.0/reference/generated/numpy.gradient.html.
In most cases, when the grid is equidistant, a fallback to the constant grid spacing varargs
of older numpy should be sufficient. In other cases maybe raise NotImplemented
.
Happens in both, python2.7 and python3.5.