Skip to content

Commit

Permalink
tstop aliasing
Browse files Browse the repository at this point in the history
  • Loading branch information
jClugstor committed Dec 12, 2024
1 parent cef2d29 commit d2d5f61
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/OrdinaryDiffEqCore/src/solve.jl
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,12 @@ function DiffEqBase.__init(
resType = typeof(res_prototype)
end

if isnothing(aliases.alias_tstops) || aliases.alias_tstops
tstops = tstops
else
tstops = deepcopy(tstops)
end

if tstops isa AbstractArray || tstops isa Tuple || tstops isa Number
_tstops = nothing
else
Expand Down

0 comments on commit d2d5f61

Please sign in to comment.