@@ -276,7 +276,7 @@ sol = solve(jprob, Tsit5())
276
276
struct VR_Direct <: VariableRateAggregator end
277
277
struct VR_DirectFW <: VariableRateAggregator end
278
278
279
- mutable struct VR_DirectEventCache{T, RNG <: AbstractRNG , F1, F2}
279
+ mutable struct VR_DirectEventCache{T, RNG, F1, F2}
280
280
prev_time:: T
281
281
prev_threshold:: T
282
282
current_time:: T
@@ -329,8 +329,8 @@ function initialize_vr_direct_cache!(cache::VR_DirectEventCache, u, t, integrato
329
329
nothing
330
330
end
331
331
332
- @inline function concretize_vr_direct_affects! (cache:: VR_DirectEventCache{T, RNG, F1, F2} ,
333
- :: I ) where {T, RNG, F1, F2, I <: DiffEqBase.DEIntegrator }
332
+ @inline function concretize_vr_direct_affects! (cache:: VR_DirectEventCache ,
333
+ :: I ) where {I <: DiffEqBase.DEIntegrator }
334
334
if (cache. affect_funcs isa Vector) &&
335
335
! (cache. affect_funcs isa Vector{FunctionWrappers. FunctionWrapper{Nothing, Tuple{I}}})
336
336
AffectWrapper = FunctionWrappers. FunctionWrapper{Nothing, Tuple{I}}
455
455
end
456
456
end
457
457
458
- @inline function execute_affect! (cache:: VR_DirectEventCache{T, RNG, F1, F2} ,
459
- integrator:: I , idx) where {T, RNG, F1, F2, I <: DiffEqBase.DEIntegrator }
458
+ @inline function execute_affect! (cache:: VR_DirectEventCache ,
459
+ integrator:: I , idx) where {I <: DiffEqBase.DEIntegrator }
460
460
@unpack affect_funcs = cache
461
461
if affect_funcs isa Vector{FunctionWrappers. FunctionWrapper{Nothing, Tuple{I}}}
462
462
@inbounds affect_funcs[idx](integrator)
0 commit comments