JuliaMath / Interpolations.jl

Fast, continuous interpolation of discrete datasets in Julia

Home Page:http://juliamath.github.io/Interpolations.jl/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Precompilation warnings

milankl opened this issue · comments

[Feel free to close if this is a duplicate issue, but I cannot find a recent one by searching]

I get a bunch of precompilation warnings originating from this package

Interpolations [a98d9a8b-a2ab-59e6-89dd-64a1c18fca59]
│  WARNING: method definition for checkbounds at /Users/milan/.julia/packages/Interpolations/y4lLj/src/Interpolations.jl:454 declares type variable N but does not use it.
│  WARNING: method definition for checkbounds at /Users/milan/.julia/packages/Interpolations/y4lLj/src/Interpolations.jl:457 declares type variable N but does not use it.
│  WARNING: method definition for GriddedInterpolation at /Users/milan/.julia/packages/Interpolations/y4lLj/src/gridded/gridded.jl:37 declares type variable pad but does not use it.
│  WARNING: method definition for GriddedInterpolation at /Users/milan/.julia/packages/Interpolations/y4lLj/src/gridded/gridded.jl:60 declares type variable pad but does not use it.
│  WARNING: method definition for interpolate! at /Users/milan/.julia/packages/Interpolations/y4lLj/src/deprecations.jl:30 declares type variable TWeights but does not use it.
└

What version of Interpolations are you using?

Sorry, this was with v0.13

(@v1.9) pkg> add Interpolations@v0.13
   Resolving package versions...
    Updating `~/.julia/environments/v1.9/Project.toml`
⌃ [a98d9a8b] + Interpolations v0.13.6
    Updating `~/.julia/environments/v1.9/Manifest.toml`
  [13072b0f] + AxisAlgorithms v1.0.1
⌃ [a98d9a8b] + Interpolations v0.13.6
  [c84ed2f1] + Ratios v0.4.5
  [efce3f68] + WoodburyMatrices v0.5.5
  [1a1011a3] + SharedArrays
        Info Packages marked with ⌃ have new versions available and may be upgradable.
Precompiling project...
  1 dependency successfully precompiled in 4 seconds. 298 already precompiled.
  1 dependency had warnings during precompilation:
┌ Interpolations [a98d9a8b-a2ab-59e6-89dd-64a1c18fca59]
│  WARNING: method definition for checkbounds at /Users/milan/.julia/packages/Interpolations/y4lLj/src/Interpolations.jl:454 declares type variable N but does not use it.
│  WARNING: method definition for checkbounds at /Users/milan/.julia/packages/Interpolations/y4lLj/src/Interpolations.jl:457 declares type variable N but does not use it.
│  WARNING: method definition for GriddedInterpolation at /Users/milan/.julia/packages/Interpolations/y4lLj/src/gridded/gridded.jl:37 declares type variable pad but does not use it.
│  WARNING: method definition for GriddedInterpolation at /Users/milan/.julia/packages/Interpolations/y4lLj/src/gridded/gridded.jl:60 declares type variable pad but does not use it.
│  WARNING: method definition for interpolate! at /Users/milan/.julia/packages/Interpolations/y4lLj/src/deprecations.jl:30 declares type variable TWeights but does not use it.
└

in v0.14 this has been resolved

(@v1.9) pkg> add Interpolations@v0.14
   Resolving package versions...
    Updating `~/.julia/environments/v1.9/Project.toml`
  [a98d9a8b]  Interpolations v0.13.6  v0.14.7
    Updating `~/.julia/environments/v1.9/Manifest.toml`
  [a98d9a8b]  Interpolations v0.13.6  v0.14.7
Precompiling project...
  1 dependency successfully precompiled in 4 seconds. 298 already precompiled.

Thank you for checking.