From cb04f0c90e6e618fd77e2489456ada1eaf5231a1 Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas Date: Tue, 29 Oct 2024 08:18:32 -0100 Subject: [PATCH] Do not rewrap PDESolution with default algorithm Fixes https://github.com/SciML/DifferentialEquations.jl/issues/1051, will be caught downstream. --- lib/OrdinaryDiffEqDefault/src/default_alg.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/OrdinaryDiffEqDefault/src/default_alg.jl b/lib/OrdinaryDiffEqDefault/src/default_alg.jl index 37686303f1..9347a6192c 100644 --- a/lib/OrdinaryDiffEqDefault/src/default_alg.jl +++ b/lib/OrdinaryDiffEqDefault/src/default_alg.jl @@ -40,10 +40,10 @@ function isdefaultalg(alg::CompositeAlgorithm{ end function DiffEqBase.__init(prob::ODEProblem, ::Nothing, args...; kwargs...) - DiffEqBase.init(prob, DefaultODEAlgorithm(autodiff = false), args...; kwargs...) + DiffEqBase.init(prob, DefaultODEAlgorithm(autodiff = false), args...; wrap = Val(false), kwargs...) end function DiffEqBase.__solve(prob::ODEProblem, ::Nothing, args...; kwargs...) - DiffEqBase.solve(prob, DefaultODEAlgorithm(autodiff = false), args...; kwargs...) + DiffEqBase.solve(prob, DefaultODEAlgorithm(autodiff = false), args...; wrap = Val(false), kwargs...) end function is_stiff(integrator, alg, ntol, stol, is_stiffalg, current)