Skip to content

Deprecation warning with mutating functions #51

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
amrods opened this issue Jan 18, 2022 · 1 comment
Closed

Deprecation warning with mutating functions #51

amrods opened this issue Jan 18, 2022 · 1 comment

Comments

@amrods
Copy link

amrods commented Jan 18, 2022

using NonlinearSolve

function f!(F, x, _)
    F[1] = (x[1] + 3) * (x[2]^3 - 7) + 18
    F[2] = sin(x[2] * exp(x[1]) - 1)
    nothing
end

x0 = [0.1; 1.2]

prob! = NonlinearProblem{true}(f!, x0)

sol! = solve(prob!, NewtonRaphson())

that last line yield this warning:

Warning: `vendor()` is deprecated, use `BLAS.get_config()` and inspect the output instead
│   caller = (::NonlinearSolve.DefaultLinSolve)(x::Vector{Float64}, A::Matrix{Float64}, b::Vector{Float64}, update_matrix::Bool; tol::Nothing, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}) at utils.jl:125
└ @ NonlinearSolve ~/.julia/packages/NonlinearSolve/9GzK0/src/utils.jl:125
u: 2-element Vector{Float64}:
 -3.645318273517821e-8
  1.0000000239478837
@ChrisRackauckas
Copy link
Member

This is the same problem as #49

avik-pal pushed a commit that referenced this issue Nov 1, 2024
enable dependabot for GitHub actions
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants