Skip to content

Errors with JET.jl #51

Description

@amontoison
julia> report_package("MadIPM"; target_defined_modules=true)
[toplevel-info] virtualized the context of Main (took 0.004 sec)
[toplevel-info] entered into /home/alexis/Bureau/git/MadIPM.jl/src/MadIPM.jl
[toplevel-info] entered into /home/alexis/Bureau/git/MadIPM.jl/src/utils.jl
[toplevel-info]  exited from /home/alexis/Bureau/git/MadIPM.jl/src/utils.jl (took 0.539 sec)
[toplevel-info] entered into /home/alexis/Bureau/git/MadIPM.jl/src/structure.jl
[toplevel-info]  exited from /home/alexis/Bureau/git/MadIPM.jl/src/structure.jl (took 0.364 sec)
[toplevel-info] entered into /home/alexis/Bureau/git/MadIPM.jl/src/kernels.jl
[toplevel-info]  exited from /home/alexis/Bureau/git/MadIPM.jl/src/kernels.jl (took 0.094 sec)
[toplevel-info] entered into /home/alexis/Bureau/git/MadIPM.jl/src/KKT/normalkkt.jl
[toplevel-info]  exited from /home/alexis/Bureau/git/MadIPM.jl/src/KKT/normalkkt.jl (took 0.053 sec)
[toplevel-info] entered into /home/alexis/Bureau/git/MadIPM.jl/src/linear_solver.jl
[toplevel-info]  exited from /home/alexis/Bureau/git/MadIPM.jl/src/linear_solver.jl (took 0.049 sec)
[toplevel-info] entered into /home/alexis/Bureau/git/MadIPM.jl/src/solver.jl
[toplevel-info]  exited from /home/alexis/Bureau/git/MadIPM.jl/src/solver.jl (took 0.088 sec)
[toplevel-info]  exited from /home/alexis/Bureau/git/MadIPM.jl/src/MadIPM.jl (took 1.359 sec)
[toplevel-info] analyzing from top-level definitions (129/129)
[toplevel-info] analyzed 129 top-level definitions (took 3.981 sec)
═════ 6 possible errors found ═════
┌ MadIPM.ConservativeStep() @ MadIPM /home/alexis/Bureau/git/MadIPM.jl/src/utils.jl:19`MadIPM.T` is not defined: MadIPM.T
└────────────────────
┌ MadIPM.AdaptiveStep() @ MadIPM /home/alexis/Bureau/git/MadIPM.jl/src/utils.jl:23`MadIPM.T` is not defined: MadIPM.T
└────────────────────
┌ MadIPM.MehrotraAdaptiveStep() @ MadIPM /home/alexis/Bureau/git/MadIPM.jl/src/utils.jl:27`MadIPM.T` is not defined: MadIPM.T
└────────────────────
┌ create_kkt_system(::Type{…}, cb::MadNLP.SparseCallback{…} where {}, ind_cons::Any, linear_solver::Type; opt_linear_solver::Any, hessian_approximation::Any, qn_options::Any) where {} @ MadIPM /home/alexis/Bureau/git/MadIPM.jl/src/KKT/normalkkt.jl:91
│ no matching method found `SparseMatrixCSC(::Any, ::Int64, ::Matrix{Float64}, ::Any, ::Any)` (1/2 union split): AT = SparseMatrixCSC(ntot, m::Int64, Ap, Aj, Ax)
└────────────────────
┌ create_kkt_system(::Type{…}, cb::MadNLP.SparseCallback{…} where {}, ind_cons::Any, linear_solver::Type; opt_linear_solver::Any, hessian_approximation::Any, qn_options::Any) where {} @ MadIPM /home/alexis/Bureau/git/MadIPM.jl/src/KKT/normalkkt.jl:94
│ no matching method found `build_normal_system(::Int64, ::Any, ::Matrix{Float64}, ::Any)` (1/2 union split): MadIPM.build_normal_system(m::Int64, ntot, Ap, Aj)
└────────────────────
┌ create_kkt_system(::Type{…}, cb::MadNLP.SparseCallback{…} where {}, ind_cons::Any, linear_solver::Type; opt_linear_solver::Any, hessian_approximation::Any, qn_options::Any) where {} @ MadIPM /home/alexis/Bureau/git/MadIPM.jl/src/KKT/normalkkt.jl:97
│ no matching method found `SparseMatrixCSC(::Int64, ::Int64, ::Matrix{Float64}, ::Matrix{Float64}, ::Any)`, `SparseMatrixCSC(::Int64, ::Int64, ::Vector, ::Matrix{Float64}, ::Any)`, `SparseMatrixCSC(::Int64, ::Int64, ::Matrix{Float64}, ::Vector, ::Any)` (3/4 union split): aug_com = SparseMatrixCSC(m::Int64, m::Int64, AAp, AAj, AAx)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions