Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vyudu committed Dec 17, 2024
1 parent bb28d4f commit b2bf7c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/systems/diffeqs/abstractodesystem.jl
Original file line number Diff line number Diff line change
Expand Up @@ -543,12 +543,12 @@ end

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

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

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

0 comments on commit b2bf7c0

Please sign in to comment.