3
3
# Hence, we need to have two separate functions.
4
4
5
5
function _change_t_via_interpolation! (integrator, t,
6
- modify_save_endpoint:: Type{Val{T}} , reinitialization_method = nothing ) where {T}
6
+ modify_save_endpoint:: Type{Val{T}} , reinitialize_alg = nothing ) where {T}
7
7
# Can get rid of an allocation here with a function
8
8
# get_tmp_arr(integrator.cache) which gives a pointer to some
9
9
# cache array which can be modified.
@@ -17,7 +17,7 @@ function _change_t_via_interpolation!(integrator, t,
17
17
end
18
18
integrator. t = t
19
19
integrator. dt = integrator. t - integrator. tprev
20
- DiffEqBase. reeval_internals_due_to_modification! (integrator; callback_initializealg= reinitialization_method )
20
+ DiffEqBase. reeval_internals_due_to_modification! (integrator; callback_initializealg= reinitialize_alg )
21
21
if T
22
22
solution_endpoint_match_cur_integrator! (integrator)
23
23
end
@@ -28,10 +28,10 @@ function DiffEqBase.change_t_via_interpolation!(integrator::ODEIntegrator,
28
28
t,
29
29
modify_save_endpoint:: Type{Val{T}} = Val{
30
30
false ,
31
- }, reinitialization_method = nothing ) where {
31
+ }, reinitialize_alg = nothing ) where {
32
32
T,
33
33
}
34
- _change_t_via_interpolation! (integrator, t, modify_save_endpoint, reinitialization_method )
34
+ _change_t_via_interpolation! (integrator, t, modify_save_endpoint, reinitialize_alg )
35
35
return nothing
36
36
end
37
37
0 commit comments