From 1d9449b1f7e31cea9ce09cd4ccb81887b2297fa8 Mon Sep 17 00:00:00 2001 From: Oscar Smith Date: Fri, 24 May 2024 12:52:20 -0400 Subject: [PATCH] Disable Default solver on windows until the Julia bug is fixed --- src/solve.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/solve.jl b/src/solve.jl index 0c6df44b76..6aee75aaf8 100644 --- a/src/solve.jl +++ b/src/solve.jl @@ -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)