Skip to content

Commit ba16476

Browse files
Merge branch 'master' into move_to_SciMLBase_backup
2 parents 093f3a6 + cee78f8 commit ba16476

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "SciMLBase"
22
uuid = "0bca4576-84f4-4d90-8ffe-ffa030f20462"
3-
version = "2.111.0"
43
authors = ["Chris Rackauckas <[email protected]> and contributors"]
4+
version = "2.112.0"
55

66
[deps]
77
ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b"

src/problems/ode_problems.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ end
474474
function SplitODEProblem{iip}(f::SplitFunction, u0, tspan, p = NullParameters();
475475
kwargs...) where {iip}
476476
if f._func_cache === nothing && iip
477-
_func_cache = DiffCache(u0)
477+
_func_cache = typeof(u0) <: AbstractArray{<:Number} ? DiffCache(u0) : u0
478478
f = remake(f; _func_cache)
479479
end
480480
ODEProblem(f, u0, tspan, p, SplitODEProblem{iip}(); kwargs...)

0 commit comments

Comments
 (0)