Skip to content

Commit

Permalink
use FFTW.fftwNumber
Browse files Browse the repository at this point in the history
as we're already using it in util / others use it too.
  • Loading branch information
wheeheee committed Jan 16, 2025
1 parent 9a093a5 commit 5ac3790
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/convolutions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ function conv_axes_with_offset(as::Tuple...)
return !isempty(with_offset) && first(with_offset)
end

const FFTTypes = Union{Float32,Float64,ComplexF32,ComplexF64}
const FFTTypes = FFTW.fftwNumber

"""
conv!(out, u, v; algorithm=:auto)
Expand Down

0 comments on commit 5ac3790

Please # to comment.