diff options
Diffstat (limited to 'null.py')
-rw-r--r-- | null.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -71,13 +71,13 @@ def _null_geodesic_kernel(times, t0, events, pu_t_0, pu_X_0 = np.sqrt(alpha_0 * alpha_0 / gXX_0) * pu_t_0 args = { + # workaround for older versions of scipy not supporting args for fun 'fun' : lambda t,x:_null_geodesic_axis_rhs(t,x,alpha, alpha_dX, alpha_dt, gXX, gXX_dX, gXX_dt), 't_span' : (0.0, 1e6), 'y0' : (t0, 0.0, pu_t_0, pu_X_0), 'method' : 'RK45', 'dense_output' : True, 'events' : events, - 'args' : (alpha, alpha_dX, alpha_dt, gXX, gXX_dX, gXX_dt), 'rtol' : 1e-4, 'atol' : 1e-6, } |