diff --git a/Project.toml b/Project.toml index 31e1c8086..f8b054afe 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "NonlinearSolve" uuid = "8913a72c-1f9b-4ce2-8d82-65094dcecaec" authors = ["SciML"] -version = "1.2.0" +version = "1.2.1" [deps] ArrayInterfaceCore = "30b0a656-2188-435a-8636-2ec0e6a096e2" diff --git a/src/NonlinearSolve.jl b/src/NonlinearSolve.jl index 79e6788c6..9ea97dafc 100644 --- a/src/NonlinearSolve.jl +++ b/src/NonlinearSolve.jl @@ -1,5 +1,8 @@ module NonlinearSolve - +if isdefined(Base, :Experimental) && + isdefined(Base.Experimental, Symbol("@max_methods")) + @eval Base.Experimental.@max_methods 1 +end using Reexport using UnPack: @unpack using FiniteDiff, ForwardDiff