Skip to content

Commit

Permalink
Stop using ANY. It is not a thing anymore (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasnoack authored and ararslan committed Jul 17, 2017
1 parent 62e3bcf commit 48923f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fft.jl
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ for (Tr,Tc,fftw,lib) in ((:Float64,:Complex128,"fftw",libfftw),
return rFFTWPlan{$Tc,$BACKWARD,inplace,N}(plan, flags, R, X, Y)
end

@eval function (::Type{r2rFFTWPlan{$Tr,ANY,inplace,N}})(X::StridedArray{$Tr,N},
@eval function (::Type{r2rFFTWPlan{$Tr,Any,inplace,N}})(X::StridedArray{$Tr,N},
Y::StridedArray{$Tr,N},
region, kinds, flags::Integer,
timelimit::Real) where {inplace,N}
Expand All @@ -563,7 +563,7 @@ for (Tr,Tc,fftw,lib) in ((:Float64,:Complex128,"fftw",libfftw),
end

# support r2r transforms of complex = transforms of real & imag parts
@eval function (::Type{r2rFFTWPlan{$Tc,ANY,inplace,N}})(X::StridedArray{$Tc,N},
@eval function (::Type{r2rFFTWPlan{$Tc,Any,inplace,N}})(X::StridedArray{$Tc,N},
Y::StridedArray{$Tc,N},
region, kinds, flags::Integer,
timelimit::Real) where {inplace,N}
Expand Down

0 comments on commit 48923f4

Please sign in to comment.