Commit 592f03a
authored
Fix precompile warnings in Julia 1.12 (#559)
Remove unused type parameters in methods.
Before:
```julia
(@v1.12) pkg> precompile
Precompiling packages finished.
38 dependencies successfully precompiled in 36 seconds. 704 already precompiled.
1 dependency had output during precompilation:
┌ LoopVectorization → ForwardDiffNNlibExt
│ WARNING: method definition for relu at /home/hp74lr/.julia/dev/LoopVectorization/ext/ForwardDiffNNlibExt.jl:5 declares type variable S but does not use it.
│ WARNING: method definition for leakyrelu at /home/hp74lr/.julia/dev/LoopVectorization/ext/ForwardDiffNNlibExt.jl:22 declares type variable S but does not use it.
└
```
After:
```julia
(@v1.12) pkg> precompile
Precompiling packages finished.
37 dependencies successfully precompiled in 34 seconds. 705 already precompiled.
```1 parent 20918b1 commit 592f03a
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
0 commit comments