Skip to content

Commit 70d63b9

Browse files
Update src/solve.jl
1 parent 4908221 commit 70d63b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/solve.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1461,7 +1461,7 @@ function check_prob_alg_pairing(prob, alg)
14611461
if !SciMLBase.allows_arbitrary_number_types(alg)
14621462
if isdefined(prob, :u0)
14631463
uType = RecursiveArrayTools.recursive_unitless_eltype(prob.u0)
1464-
u0_as_initial_guess = (prob isa BVProblem) && (uType <: Vector)
1464+
u0_as_initial_guess = (prob isa BVProblem) && (uType <: AbstractVector)
14651465
if Base.isconcretetype(uType) &&
14661466
!(uType <: Union{Float32, Float64, ComplexF32, ComplexF64}) &&
14671467
!u0_as_initial_guess

0 commit comments

Comments
 (0)