From e3ad1d11dd963fc641259c3507ba72baf3a6df50 Mon Sep 17 00:00:00 2001 From: Avik Pal Date: Sun, 24 Dec 2023 14:36:18 -0500 Subject: [PATCH] Incorrect depwarn call --- Project.toml | 2 +- src/extension_algs.jl | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Project.toml b/Project.toml index 3167d4b39..e2b0c1b63 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "NonlinearSolve" uuid = "8913a72c-1f9b-4ce2-8d82-65094dcecaec" authors = ["SciML"] -version = "3.3.1" +version = "3.4.0" [deps] ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b" diff --git a/src/extension_algs.jl b/src/extension_algs.jl index c70466131..9e0f68fde 100644 --- a/src/extension_algs.jl +++ b/src/extension_algs.jl @@ -141,7 +141,7 @@ function CMINPACK(; show_trace = missing, tracing = missing, method::Symbol = :a Base.depwarn("`show_trace` for CMINPACK has been deprecated and will be removed \ in v4. Use the `show_trace` keyword argument via the logging API \ https://docs.sciml.ai/NonlinearSolve/stable/basics/Logging/ \ - instead.") + instead.", :CMINPACK) else show_trace = false end @@ -150,7 +150,7 @@ function CMINPACK(; show_trace = missing, tracing = missing, method::Symbol = :a Base.depwarn("`tracing` for CMINPACK has been deprecated and will be removed \ in v4. Use the `store_trace` keyword argument via the logging API \ https://docs.sciml.ai/NonlinearSolve/stable/basics/Logging/ \ - instead.") + instead.", :CMINPACK) else tracing = false end @@ -219,7 +219,7 @@ function NLsolveJL(; method = :trust_region, autodiff = :central, store_trace = Base.depwarn("`show_trace` for NLsolveJL has been deprecated and will be removed \ in v4. Use the `show_trace` keyword argument via the logging API \ https://docs.sciml.ai/NonlinearSolve/stable/basics/Logging/ \ - instead.") + instead.", :NLsolveJL) else show_trace = false end @@ -228,7 +228,7 @@ function NLsolveJL(; method = :trust_region, autodiff = :central, store_trace = Base.depwarn("`store_trace` for NLsolveJL has been deprecated and will be removed \ in v4. Use the `store_trace` keyword argument via the logging API \ https://docs.sciml.ai/NonlinearSolve/stable/basics/Logging/ \ - instead.") + instead.", :NLsolveJL) else store_trace = false end @@ -237,7 +237,8 @@ function NLsolveJL(; method = :trust_region, autodiff = :central, store_trace = Base.depwarn("`extended_trace` for NLsolveJL has been deprecated and will be \ removed in v4. Use the `trace_level = TraceAll()` keyword argument \ via the logging API \ - https://docs.sciml.ai/NonlinearSolve/stable/basics/Logging/ instead.") + https://docs.sciml.ai/NonlinearSolve/stable/basics/Logging/ instead.", + :NLsolveJL) else extended_trace = false end