Skip to content

Commit

Permalink
Merge pull request #2224 from SciML/os/disable-default-on-windows
Browse files Browse the repository at this point in the history
Disable Default solver on windows
  • Loading branch information
ChrisRackauckas authored May 24, 2024
2 parents e24f171 + 1d9449b commit a056890
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/solve.jl
Original file line number Diff line number Diff line change
Expand Up @@ -534,12 +534,14 @@ function DiffEqBase.__init(
integrator
end

if !Sys.iswindows() #TODO delete this once https://github.com/JuliaLang/julia/pull/54572 is released
function DiffEqBase.__init(prob::ODEProblem, ::Nothing, args...; kwargs...)
DiffEqBase.init(prob, DefaultODEAlgorithm(autodiff = false), args...; kwargs...)
end
function DiffEqBase.__solve(prob::ODEProblem, ::Nothing, args...; kwargs...)
DiffEqBase.solve(prob, DefaultODEAlgorithm(autodiff = false), args...; kwargs...)
end
end

function DiffEqBase.solve!(integrator::ODEIntegrator)
@inbounds while !isempty(integrator.opts.tstops)
Expand Down

0 comments on commit a056890

Please sign in to comment.