Warning when using LinearOperators.jl

Open
#339 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
julia
Domain
tooling

Research direction

Inspect the reported declarations in src/linalg.jl at lines 44 and 67, and in src/special-operators.jl at lines 175 and 231. Start by reproducing the package precompilation warning, then address the unused type-variable declarations and verify that precompilation completes without these warnings.

Written by the indexing model from the issue text.

Description

 4 dependencies successfully precompiled in 5 seconds. 72 already precompiled.
  1 dependency had output during precompilation:
┌ LinearOperators
│  WARNING: method definition for #opCholesky#87 at /home/alexis/.julia/packages/LinearOperators/spFlJ/src/linalg.jl:44 declares type variable T but does not use it.
│  WARNING: method definition for #opLDL#94 at /home/alexis/.julia/packages/LinearOperators/spFlJ/src/linalg.jl:67 declares type variable T but does not use it.
│  WARNING: method definition for opRestriction at /home/alexis/.julia/packages/LinearOperators/spFlJ/src/special-operators.jl:175 declares type variable T but does not use it.
│  WARNING: method definition for BlockDiagonalOperator at /home/alexis/.julia/packages/LinearOperators/spFlJ/src/special-operators.jl:231 declares type variable S but does not use it.
└  
Dominant language
Julia
Stars
214
Forks
46
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from JuliaSmoothOptimizers/LinearOperators.jl

All issues in JuliaSmoothOptimizers/LinearOperators.jl

Similar issues

More Julia issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.