Skip to content

Commit 1c61881

Browse files
refactor: early exit late_binding_update_u0_p for LinearProblem
1 parent c2849c4 commit 1c61881

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/systems/nonlinear/initializesystem.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -727,6 +727,7 @@ function SciMLBase.late_binding_update_u0_p(
727727
prob, sys::AbstractSystem, u0, p, t0, newu0, newp)
728728
supports_initialization(sys) || return newu0, newp
729729
prob isa IntervalNonlinearProblem && return newu0, newp
730+
prob isa LinearProblem && return newu0, newp
730731

731732
initdata = prob.f.initialization_data
732733
meta = initdata === nothing ? nothing : initdata.metadata

0 commit comments

Comments
 (0)