diff --git a/test/integrators/ode_cache_tests.jl b/test/integrators/ode_cache_tests.jl index 4a233290f8..76c9ced10c 100644 --- a/test/integrators/ode_cache_tests.jl +++ b/test/integrators/ode_cache_tests.jl @@ -87,6 +87,11 @@ affect_matrix! = function (integrator) end callback_matrix = ContinuousCallback(condition_matrix, affect_matrix!) +Base.similar(x::ElasticArrays.ElasticArray, ::Type{T}) where T = deepcopy(x) +Base.copy(x::ElasticArrays.ElasticArray) = deepcopy(x) +Base.zero(x::ElasticArrays.ElasticArray) = ElasticArray(zero(Array(x))) +Base.resize!(x::ElasticArrays.ElasticArray,i::Tuple) = resize!(x,i...) + for alg in CACHE_TEST_ALGS OrdinaryDiffEq.isimplicit(alg) && continue # this restriction should be removed in the future @show alg