Skip to content

Commit e16b4f2

Browse files
refactor: early exit late_binding_update_u0_p for LinearProblem
1 parent 93a8c67 commit e16b4f2

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
@@ -717,6 +717,7 @@ function SciMLBase.late_binding_update_u0_p(
717717
prob, sys::AbstractSystem, u0, p, t0, newu0, newp)
718718
supports_initialization(sys) || return newu0, newp
719719
prob isa IntervalNonlinearProblem && return newu0, newp
720+
prob isa LinearProblem && return newu0, newp
720721

721722
initdata = prob.f.initialization_data
722723
meta = initdata === nothing ? nothing : initdata.metadata

0 commit comments

Comments
 (0)