Skip to content

Commit

Permalink
simplify exception for numba
Browse files Browse the repository at this point in the history
  • Loading branch information
s-m-e committed Apr 21, 2024
1 parent 2dfc5f2 commit f04baff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hapsira/core/propagation/cowell.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def cowell_gf(
event_g_olds[event_idx] = event_g_news[event_idx]

if not t_last <= t:
raise ValueError("not t_last <= t", t_last, t)
raise ValueError("not t_last <= t")

while t_idx[0] < tofs.shape[0] and tofs[t_idx[0]] < t:
rrs[t_idx[0], :], vvs[t_idx[0], :] = dop853_dense_interp_hf(
Expand Down

0 comments on commit f04baff

Please sign in to comment.