Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating BVProblem from ODESystem #3251

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open
Prev Previous commit
Next Next commit
up
  • Loading branch information
vyudu committed Dec 17, 2024
commit bb28d4fe2a0d753221104186fe42808c7657f5d6
4 changes: 2 additions & 2 deletions src/systems/diffeqs/abstractodesystem.jl
Original file line number Diff line number Diff line change
@@ -543,12 +543,12 @@ end

get_callback(prob::BVProblem) = error("BVP solvers do not support callbacks.")

@inline function SciML.Code.create_array(::Type{<:Base.ReinterpretArray}, ::Nothing,
@inline function SciMLBase.Code.create_array(::Type{<:Base.ReinterpretArray}, ::Nothing,
::Val{1}, ::Val{dims}, elems...) where {dims}
[elems...]
end

@inline function SciML.Code.create_array(
@inline function SciMLBase.Code.create_array(
::Type{<:Base.ReinterpretArray}, T, ::Val{1}, ::Val{dims}, elems...) where {dims}
T[elems...]
end
Loading