Skip to content

Commit 6f12c29

Browse files
authored
FFTW.jl 1.10 compatibility (#36)
1 parent a0c5b09 commit 6f12c29

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.github/workflows/CI.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
version:
16-
- '1.6'
17-
# - 'nightly'
16+
- 'min'
17+
- '1'
1818
os:
1919
- ubuntu-latest
2020
- macOS-latest

Project.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
name = "Hadamard"
22
uuid = "4a05ff16-5f95-55f4-bb53-bb3f467c689a"
3-
version = "1.7.0"
3+
version = "1.8.0"
44

55
[deps]
66
AbstractFFTs = "621f4979-c628-5d54-868e-fcf4e3e8185c"
77
FFTW = "7a1cc6ca-52ef-59f5-83cd-3a7055c09341"
88
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
99

1010
[compat]
11-
julia = "1.6"
12-
AbstractFFTs = "0.4,0.5,1"
13-
FFTW = "1.9"
11+
julia = "1.10"
12+
AbstractFFTs = "1"
13+
FFTW = "1.10"
1414
LinearAlgebra = "<0.0.1, 1"
15+
Test = "<0.0.1, 1"
1516

1617
[extras]
1718
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

src/Hadamard.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ for (Tr,Tc,fftw,lib) in ((:Float64,:ComplexF64,"fftw",libfftw),
6969
R = isa(region, Tuple) ? region : copy(region)
7070
dims, howmany = dims_howmany(X, Y, size(X), R)
7171
dims = hadamardize(dims, bitreverse)
72-
plan = ccall(($(string(fftw,"_plan_guru64_dft")),$lib()),
72+
plan = ccall(($(string(fftw,"_plan_guru64_dft")),$lib),
7373
PlanPtr,
7474
(Int32, Ptr{Int}, Int32, Ptr{Int},
7575
Ptr{$Tc}, Ptr{$Tc}, Int32, UInt32),
@@ -95,7 +95,7 @@ for (Tr,Tc,fftw,lib) in ((:Float64,:ComplexF64,"fftw",libfftw),
9595
dims = hadamardize(dims, bitreverse)
9696
kind = Array{Int32}(undef, size(dims,2))
9797
kind .= R2HC
98-
plan = ccall(($(string(fftw,"_plan_guru64_r2r")),$lib()),
98+
plan = ccall(($(string(fftw,"_plan_guru64_r2r")),$lib),
9999
PlanPtr,
100100
(Int32, Ptr{Int}, Int32, Ptr{Int},
101101
Ptr{$Tr}, Ptr{$Tr}, Ptr{Int32}, UInt32),

0 commit comments

Comments
 (0)