Skip to content

Commit 5ebbb6f

Browse files
fix: late_binding_update_u0_p ctx should not be an optional argument
1 parent e02ead7 commit 5ebbb6f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/ModelingToolkitBase/src/systems/nonlinear/initializesystem.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ end
691691
@static if isdefined(SciMLBase, :LateBindingUpdateU0PContext)
692692
function SciMLBase.late_binding_update_u0_p(
693693
prob, sys::AbstractSystem, u0, p, t0, newu0, newp,
694-
ctx::SciMLBase.LateBindingUpdateU0PContext = SciMLBase.LateBindingUpdateU0PContext()
694+
ctx::SciMLBase.LateBindingUpdateU0PContext
695695
)
696696
return _late_binding_update_u0_p_impl(prob, sys, u0, p, t0, newu0, newp)
697697
end

0 commit comments

Comments
 (0)