Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
vyudu committed Dec 17, 2024
1 parent 67d8164 commit 25988f3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/systems/diffeqs/abstractodesystem.jl
Original file line number Diff line number Diff line change
Expand Up @@ -543,13 +543,13 @@ end

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

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

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

Expand Down

0 comments on commit 25988f3

Please sign in to comment.