JuliaNLSolvers / NLsolve.jl

Julia solvers for systems of nonlinear equations and mixed complementarity problems

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Method definition warning

huckl3b3rry87 opened this issue · comments

Is this expected?

               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: https://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?help" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.6.2 (2017-12-13 18:08 UTC)
 _/ |\__'_|_|_|\__'_|  |  Official http://julialang.org/ release
|__/                   |  x86_64-pc-linux-gnu

julia> using NLsolve
WARNING: Method definition (::Type{NLSolversBase.OnceDifferentiable{TF, TDF, TX} where TX where TDF where TF})(Any, AbstractArray{T, N} where N where T, AbstractArray{T, N} where N where T) in module NLSolversBase at /home/febbo/.julia/v0.6/NLSolversBase/src/objective_types/oncedifferentiable.jl:114 overwritten in module NLsolve at /home/febbo/.julia/v0.6/NLsolve/src/objectives/autodiff.jl:2.

julia> Pkg.status("NLsolve")
 - NLsolve                       1.1.0

What’s your NLSolversBase version?

@pkofod that you for your help!

               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: https://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?help" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.6.2 (2017-12-13 18:08 UTC)
 _/ |\__'_|_|_|\__'_|  |  Official http://julialang.org/ release
|__/                   |  x86_64-pc-linux-gnu

julia> Pkg.status("NLSolversBase")
 - NLSolversBase                 6.0.0

julia> Pkg.status("JuMP")
 - JuMP                          0.18.1

@pkofod any thoughts? I was hoping to tag a new version of my package and I would like to avoid having that warning.

Thanks!

Sorry, I'm way too busy these days. Yes I know what the problem is. Let me see if I can fix it and tag a new release.

I hear you. Times are busy... Thanks!

@pkofod thank you for doing this.

I updated my packages (this is the second time I ran Pkg.update()), but the error persists.

   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: https://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?help" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.6.2 (2017-12-13 18:08 UTC)
 _/ |\__'_|_|_|\__'_|  |  Official http://julialang.org/ release
|__/                   |  x86_64-pc-linux-gnu

julia> Pkg.update()
INFO: Updating METADATA...
INFO: Updating MAVs master...
INFO: Updating PrettyPlots master...
INFO: Updating NLOptControl master...
INFO: Updating AVExamples master...
INFO: Updating DegeneracyHunter master...
INFO: Updating MPCDocs master...
INFO: Updating VehicleModels master...
INFO: Computing changes...
INFO: No packages to install, update or remove

julia> using NLsolve
WARNING: Method definition (::Type{NLSolversBase.OnceDifferentiable{TF, TDF, TX} where TX where TDF where TF})(Any, AbstractArray{T, N} where N where T, AbstractArray{T, N} where N where T) in module NLSolversBase at /home/febbo/.julia/v0.6/NLSolversBase/src/objective_types/oncedifferentiable.jl:114 overwritten in module NLsolve at /home/febbo/.julia/v0.6/NLsolve/src/objectives/autodiff.jl:2.

julia> Pkg.status("NLsolve")
 - NLsolve                       1.1.0

Not a huge deal, I just wanted to follow up. Thanks and sorry for bugging you about this

No problem. As you can see, that or is not merged yet :)

ahhhh. Opps. Thanks!

@huckl3b3rry87 I hope your problem was fixed, but as I've seen that it helped others who had the problem, I'm closing. Please reopen as needed.