Hi Hart,
On 2 February 2018 at 17:43, Hart, William E wrote:
> References the exception `SystemError('PyTuple_SetItem called on tuple after
> use of tuple")’ but it’s not clear when/why this exception gets triggered.
It's because scipy uses the CPython C API in a way that is arguably
wrong, but
The CPython differences documentation here:
http://doc.pypy.org/en/latest/cpython_differences.html
References the exception `SystemError('PyTuple_SetItem called on tuple after
use of tuple")’ but it’s not clear when/why this exception gets triggered.
I’m trying to use scipy with pypy, and th
FYI, the following example illustrates this issue:
from scipy.integrate import ode
y0, t0 = [1.0j, 2.0], 0
def f(t, y, arg1):
return [1j*arg1*y[0] + y[1], -arg1*y[1]**2]
def jac(t, y, arg1):
return [[1j*arg1, 1], [0, -arg1*2*y[1]]]
r = ode(f, jac).set_integrator('zvode', method='bdf')
r.se