Skip to content

Commit fd7932f

Browse files
Update callbacks.jl
1 parent e60c09a commit fd7932f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/callbacks.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ end
156156
ex
157157
end
158158

159-
@inline function determine_event_occurance(integrator, callback::VectorContinuousCallback,
159+
@inline function determine_event_occurrence(integrator, callback::VectorContinuousCallback,
160160
counter)
161161
event_occurred = false
162162
if callback.interp_points != 0
@@ -267,7 +267,7 @@ end
267267
event_occurred, interp_index, ts, prev_sign, prev_sign_index, event_idx
268268
end
269269

270-
@inline function determine_event_occurance(integrator, callback::ContinuousCallback,
270+
@inline function determine_event_occurrence(integrator, callback::ContinuousCallback,
271271
counter)
272272
event_occurred = false
273273
if callback.interp_points != 0
@@ -399,7 +399,7 @@ end
399399

400400
function find_callback_time(integrator, callback::ContinuousCallback, counter)
401401
event_occurred, interp_index, ts, prev_sign,
402-
prev_sign_index, event_idx = determine_event_occurance(
402+
prev_sign_index, event_idx = determine_event_occurrence(
403403
integrator,
404404
callback,
405405
counter)
@@ -461,7 +461,7 @@ end
461461

462462
function find_callback_time(integrator, callback::VectorContinuousCallback, counter)
463463
event_occurred, interp_index, ts, prev_sign,
464-
prev_sign_index, event_idx = determine_event_occurance(
464+
prev_sign_index, event_idx = determine_event_occurrence(
465465
integrator,
466466
callback,
467467
counter)

0 commit comments

Comments
 (0)