Skip to content

Commit dff61a5

Browse files
committed
make invttype the actual inverse type
1 parent bc55bb4 commit dff61a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/systems/jumps/jumpsystem.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ function DiffEqJump.JumpProblem(js::JumpSystem, prob, aggregator; kwargs...)
166166

167167
statetoid = Dict(convert(Variable,state) => i for (i,state) in enumerate(states(js)))
168168
eqs = equations(js)
169-
invttype = typeof(prob.tspan[2])
169+
invttype = typeof(1 / prob.tspan[2])
170170

171171
# handling parameter substition and empty param vecs
172172
p = (prob.p == DiffEqBase.NullParameters()) ? Operation[] : prob.p

0 commit comments

Comments
 (0)