diff options
author | David Hilditch <david.hilditch@tecnico.ulisboa.pt> | 2023-02-21 20:01:22 +0000 |
---|---|---|
committer | David Hilditch <david.hilditch@tecnico.ulisboa.pt> | 2023-02-21 20:01:22 +0000 |
commit | e0313cd087d18cb3d169b92c1714c429d805d588 (patch) | |
tree | 3157b204d5edb291988d9ecca2ab6c6eda93aa51 /null.py | |
parent | 791856b14e664e9503748cf522af3be567fa9930 (diff) |
null: remove extra sign.
Diffstat (limited to 'null.py')
-rw-r--r-- | null.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -71,7 +71,7 @@ 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 = { - 'fun' : _null_geodesic_axis_rhs, + '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', @@ -127,7 +127,7 @@ def _events_bnd_null_geodesics(times, spatial_coords): event_x_bound_upper.terminal = True event_x_bound_upper.direction = 1.0 - def event_x_bound_lower(Lambda, y, sign, *args): + def event_x_bound_lower(Lambda, y, *args): x = y[1] return x - spatial_coords[0] event_x_bound_lower.terminal = True |