Skip to content

Commit

Permalink
Do not rewrap PDESolution with default algorithm
Browse files Browse the repository at this point in the history
Fixes SciML/DifferentialEquations.jl#1051, will be caught downstream.
  • Loading branch information
ChrisRackauckas committed Oct 29, 2024
1 parent 0b2f0d9 commit cb04f0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/OrdinaryDiffEqDefault/src/default_alg.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit cb04f0c

Please sign in to comment.