Skip to content

Commit bf8f443

Browse files
author
xiaoming
committed
Update delayproblem.jl
1 parent 3214b7e commit bf8f443

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/delayproblem.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ function DelayJumpSet(delay_trigger::Dict, delay_complete::Dict, delay_interrupt
8787
DelayJumpSet(delay_trigger_, delay_complete_, delay_interrupt_, collect(keys(delay_trigger_)), collect(keys(delay_interrupt_)))
8888
end
8989

90-
convert_delayset(delay_set::Dict) = isempty(delay_set) ? convert(Dict{Int,Function}, delay_set) : delay_set
90+
convert_delayset(delay_set::Dict{T1, T2}) where {T1,T2} = isempty(delay_set) ? convert(Dict{Int,Function}, delay_set) : convert(Dict{Int,T2}, delay_set)
9191

9292
#BEGIN DelayJump
9393
mutable struct DelayJumpProblem{iip,P,A,C,J<:Union{Nothing,AbstractJumpAggregator},J2,J3,J4,J5,deType,K} <: DiffEqBase.AbstractJumpProblem{P,J}

0 commit comments

Comments
 (0)