Skip to content

Commit 3ca1c63

Browse files
refactor: do not build initialization for discrete systems
1 parent 12ef813 commit 3ca1c63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/problems/discreteproblem.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ end
4747
add_toterms!(u0map; replace = true)
4848
f, u0, p = process_SciMLProblem(DiscreteFunction{iip, spec}, sys, op;
4949
t = tspan !== nothing ? tspan[1] : tspan, check_compatibility, expression,
50-
kwargs...)
50+
build_initializeprob = false, kwargs...)
5151

5252
if expression == Val{true}
5353
u0 = :(f($u0, p, tspan[1]))

0 commit comments

Comments
 (0)