Skip to content

Commit 39a4776

Browse files
fix: add constructor so JumpSystems can be completed
1 parent 036ceaa commit 39a4776

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/systems/jumps/jumpsystem.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ struct JumpSystem{U <: ArrayPartition} <: AbstractTimeDependentSystem
119119
connector_type, devents, metadata, gui_metadata, complete)
120120
end
121121
end
122+
JumpSystem(tag, ap, iv, states, ps, var_to_name, args...; kwargs...) = JumpSystem{typeof(ap)}(tag, ap, iv, states, ps, var_to_name, args...; kwargs...)
122123

123124
function JumpSystem(eqs, iv, unknowns, ps;
124125
observed = Equation[],

0 commit comments

Comments
 (0)