Skip to content

Commit 8513736

Browse files
Merge pull request #3624 from SciML/dw/promote_u0_p
Less restrictive `promote_u0_p`
2 parents 36abc8b + 5657aab commit 8513736

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/systems/nonlinear/initializesystem.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ function promote_u0_p(u0, p::MTKParameters, t0)
601601
return u0, p
602602
end
603603

604-
function promote_u0_p(u0, p::AbstractArray, t0)
604+
function promote_u0_p(u0, p, t0)
605605
return DiffEqBase.promote_u0(u0, p, t0), DiffEqBase.promote_u0(p, u0, t0)
606606
end
607607

0 commit comments

Comments
 (0)