Skip to content

Error when with fwht/ifwht under Julia v1.12 #35

@rharper2

Description

@rharper2

Package stopped working when I upgraded to 1.12 from 1.11, the following error message:

julia> ifwht([1 0.9 0.9 0.8])
ERROR: MethodError: objects of type FFTW.FakeLazyLibrary are not callable
The object of type `FFTW.FakeLazyLibrary` exists, but no method is defined for this combination of argument types when trying to treat it as a callable object.
Stacktrace:
 [1] macro expansion
   @ ~/.julia/packages/Hadamard/E5dja/src/Hadamard.jl:98 [inlined]
 [2] Plan_Hadamard(X::Matrix{Float64}, Y::Matrix{Float64}, region::UnitRange{Int64}, flags::UInt32, timelimit::Float64, bitreverse::Bool)
   @ Hadamard ~/.julia/packages/FFTW/uNgRy/src/FFTW.jl:90
 [3] ifwht_dyadic
   @ ~/.julia/packages/Hadamard/E5dja/src/Hadamard.jl:139 [inlined]
 [4] ifwht(X::Matrix{Float64}, region::UnitRange{Int64})
   @ Hadamard ~/.julia/packages/Hadamard/E5dja/src/Hadamard.jl:153
 [5] ifwht(X::Matrix{Float64})
   @ Hadamard ~/.julia/packages/Hadamard/E5dja/src/Hadamard.jl:237
 [6] top-level scope
   @ REPL[36]:1

Version info
Julia Version 1.12.1
Commit ba1e628ee49 (2025-10-17 13:02 UTC)
Build Info:
Official https://julialang.org release
Platform Info:
OS: macOS (arm64-apple-darwin24.0.0)
CPU: 16 × Apple M3 Max
WORD_SIZE: 64
LLVM: libLLVM-18.1.7 (ORCJIT, apple-m3)
GC: Built with stock GC

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions