Skip to content

Commit

Permalink
Update src/solve.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas authored Oct 9, 2024
1 parent 70d63b9 commit 679ed0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/solve.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1461,7 +1461,7 @@ function check_prob_alg_pairing(prob, alg)
if !SciMLBase.allows_arbitrary_number_types(alg)
if isdefined(prob, :u0)
uType = RecursiveArrayTools.recursive_unitless_eltype(prob.u0)
u0_as_initial_guess = (prob isa BVProblem) && (uType <: AbstractVector)
u0_as_initial_guess = (prob isa BVProblem) && (uType <: Vector)
if Base.isconcretetype(uType) &&
!(uType <: Union{Float32, Float64, ComplexF32, ComplexF64}) &&
!u0_as_initial_guess
Expand Down

0 comments on commit 679ed0c

Please sign in to comment.