Skip to content

Commit 8af219c

Browse files
StaticArray density
1 parent b7ed4fa commit 8af219c

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

REQUIRE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ Roots 0.2.1
1212
DataStructures 0.4.6
1313
Iterators
1414
Compat 0.18.0
15+
StaticArrays

src/OrdinaryDiffEq.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module OrdinaryDiffEq
1313
import DiffEqBase: realtype, ODE_DEFAULT_NORM, ODE_DEFAULT_ISOUTOFDOMAIN, ODE_DEFAULT_PROG_MESSAGE, ODE_DEFAULT_UNSTABLE_CHECK
1414

1515
using Parameters, GenericSVD, ForwardDiff, InplaceOps, RecursiveArrayTools,
16-
NLsolve, Juno, Calculus, Roots, DataStructures, Iterators
16+
NLsolve, Juno, Calculus, Roots, DataStructures, Iterators, StaticArrays
1717

1818
import Base: linspace
1919

src/dense/generic_dense.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ times ts (sorted), with values timeseries and derivatives ks
106106
tvals[idx[end]] > ts[end] && error("Solution interpolation cannot extrapolate past the final timepoint. Either solve on a longer timespan or use the local extrapolation from the integrator interface.")
107107
tvals[idx[1]] < ts[1] && error("Solution interpolation cannot extrapolate before the first timepoint. Either start solving earlier or use the local extrapolation from the integrator interface.")
108108
if idxs == nothing
109-
if (eltype(timeseries) <: AbstractArray) && !(eltype(timeseries) <: Array)
109+
if (eltype(timeseries) <: AbstractArray) && !(eltype(timeseries) <: Union{StaticArray,Array})
110110
vals = Vector{Vector{eltype(first(timeseries))}}(length(tvals))
111111
else
112112
vals = Vector{eltype(timeseries)}(length(tvals))

0 commit comments

Comments
 (0)