From 8cad990241f2329fa4a470b4349cd7263b1a45fb Mon Sep 17 00:00:00 2001 From: Moritz Carmesin Date: Mon, 18 Nov 2024 12:23:37 +0100 Subject: [PATCH 1/2] Adopt KrylovSubspace Vtype to u --- lib/OrdinaryDiffEqLinear/src/linear_caches.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/OrdinaryDiffEqLinear/src/linear_caches.jl b/lib/OrdinaryDiffEqLinear/src/linear_caches.jl index 47a1d1bde1..556444c0ca 100644 --- a/lib/OrdinaryDiffEqLinear/src/linear_caches.jl +++ b/lib/OrdinaryDiffEqLinear/src/linear_caches.jl @@ -591,7 +591,7 @@ function alg_cache(alg::LinearExponential, u, rate_prototype, ::Type{uEltypeNoUn if alg.krylov == :off KsCache = nothing elseif alg.krylov == :simple - Ks = KrylovSubspace{T}(n, m) + Ks = KrylovSubspace{T,T,typeof(similar(u,size(u,1),2))}(n, m) expv_cache = ExpvCache{T}(m) KsCache = (Ks, expv_cache) elseif alg.krylov == :adaptive From 28313cda2737ed2c190cfc55ee7d4f900d11d0fd Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas Date: Tue, 19 Nov 2024 00:20:54 -0100 Subject: [PATCH 2/2] Update Project.toml --- lib/OrdinaryDiffEqLinear/Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/OrdinaryDiffEqLinear/Project.toml b/lib/OrdinaryDiffEqLinear/Project.toml index 107dd521f1..5b8127135a 100644 --- a/lib/OrdinaryDiffEqLinear/Project.toml +++ b/lib/OrdinaryDiffEqLinear/Project.toml @@ -18,7 +18,7 @@ SciMLOperators = "c0aeaf25-5076-4817-a8d5-81caf7dfa961" [compat] DiffEqBase = "6.152.2" DiffEqDevTools = "2.44.4" -ExponentialUtilities = "1.26.1" +ExponentialUtilities = "1.27" LinearAlgebra = "<0.0.1, 1" OrdinaryDiffEqCore = "1.1" OrdinaryDiffEqRosenbrock = "<0.0.1, 1"