Skip to content

Commit

Permalink
Relax type annotations in __restructure_sol
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikQQY committed Dec 16, 2024
1 parent 46a59e6 commit ae835bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/BoundaryValueDiffEqCore/src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ __vec_bc(sol, p, bc, u_size) = vec(bc(reshape(sol, u_size), p))
function __restructure_sol(sol::AbstractVectorOfArray, u_size)
return VectorOfArray(map(Base.Fix2(reshape, u_size), sol))
end
function __restructure_sol(sol::Vector{<:AbstractArray}, u_size)
function __restructure_sol(sol::AbstractArray{<:AbstractArray}, u_size)
return map(Base.Fix2(reshape, u_size), sol)
end

Expand Down

0 comments on commit ae835bd

Please sign in to comment.