summaryrefslogtreecommitdiff
path: root/null.py
diff options
context:
space:
mode:
Diffstat (limited to 'null.py')
-rw-r--r--null.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/null.py b/null.py
index f001e39..77ba068 100644
--- a/null.py
+++ b/null.py
@@ -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,
}