Skip to content

Commit

Permalink
Incorrect depwarn call
Browse files Browse the repository at this point in the history
  • Loading branch information
avik-pal committed Dec 24, 2023
1 parent f2edda0 commit e987f91
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/extension_algs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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 \

Check warning on line 141 in src/extension_algs.jl

View check run for this annotation

Codecov / codecov/patch

src/extension_algs.jl#L140-L141

Added lines #L140 - L141 were not covered by tests
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

Check warning on line 146 in src/extension_algs.jl

View check run for this annotation

Codecov / codecov/patch

src/extension_algs.jl#L146

Added line #L146 was not covered by tests
end
Expand All @@ -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 \

Check warning on line 150 in src/extension_algs.jl

View check run for this annotation

Codecov / codecov/patch

src/extension_algs.jl#L149-L150

Added lines #L149 - L150 were not covered by tests
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

Check warning on line 155 in src/extension_algs.jl

View check run for this annotation

Codecov / codecov/patch

src/extension_algs.jl#L155

Added line #L155 was not covered by tests
end
Expand Down Expand Up @@ -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 \

Check warning on line 219 in src/extension_algs.jl

View check run for this annotation

Codecov / codecov/patch

src/extension_algs.jl#L218-L219

Added lines #L218 - L219 were not covered by tests
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

Check warning on line 224 in src/extension_algs.jl

View check run for this annotation

Codecov / codecov/patch

src/extension_algs.jl#L224

Added line #L224 was not covered by tests
end
Expand All @@ -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 \

Check warning on line 228 in src/extension_algs.jl

View check run for this annotation

Codecov / codecov/patch

src/extension_algs.jl#L227-L228

Added lines #L227 - L228 were not covered by tests
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

Check warning on line 233 in src/extension_algs.jl

View check run for this annotation

Codecov / codecov/patch

src/extension_algs.jl#L233

Added line #L233 was not covered by tests
end
Expand All @@ -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 \

Check warning on line 237 in src/extension_algs.jl

View check run for this annotation

Codecov / codecov/patch

src/extension_algs.jl#L236-L237

Added lines #L236 - L237 were not covered by tests
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

Check warning on line 243 in src/extension_algs.jl

View check run for this annotation

Codecov / codecov/patch

src/extension_algs.jl#L243

Added line #L243 was not covered by tests
end
Expand Down

0 comments on commit e987f91

Please sign in to comment.