Skip to content

Commit b7d0dfe

Browse files
expand solve dispatch
1 parent 7a6870f commit b7d0dfe

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "DiffEqBase"
22
uuid = "2b5f629d-d688-5b77-993f-72d75c75574e"
33
authors = ["Chris Rackauckas <accounts@chrisrackauckas.com>"]
4-
version = "6.151.5"
4+
version = "6.152.0"
55

66
[deps]
77
ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"

src/solve.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1388,7 +1388,7 @@ function __solve(
13881388
kwargs...)
13891389
if second_time
13901390
throw(NoDefaultAlgorithmError())
1391-
elseif length(args) > 0 && !(first(args) isa Union{Nothing, AbstractDEAlgorithm})
1391+
elseif length(args) > 0 && !(first(args) isa Union{Nothing, AbstractDEAlgorithm, AbstractNonlinearAlgorithm})
13921392
throw(NonSolverError())
13931393
else
13941394
__solve(prob, nothing, args...; default_set = false, second_time = true, kwargs...)
@@ -1399,7 +1399,7 @@ function __init(prob::AbstractDEProblem, args...; default_set = false, second_ti
13991399
kwargs...)
14001400
if second_time
14011401
throw(NoDefaultAlgorithmError())
1402-
elseif length(args) > 0 && !(first(args) isa Union{Nothing, AbstractDEAlgorithm})
1402+
elseif length(args) > 0 && !(first(args) isa Union{Nothing, AbstractDEAlgorithm, AbstractNonlinearAlgorithm})
14031403
throw(NonSolverError())
14041404
else
14051405
__init(prob, nothing, args...; default_set = false, second_time = true, kwargs...)

0 commit comments

Comments
 (0)