Skip to content

Commit

Permalink
silence 0.6 deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj committed Aug 17, 2017
1 parent 8f52681 commit e9a455e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Hadamard.jl
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ function ifwht{T<:fftwNumber}(X::Array{T}, region)
if isempty(region)
return Y
elseif ndims(Y) == 1
return [ Y[1 + ((i >> 1) $ i)] for i = 0:length(Y)-1 ]
return [ Y[1 + ((i >> 1) i)] for i = 0:length(Y)-1 ]
else
sz = [size(Y)...]
tmp = Array{T}(maximum(sz[region])) # storage for out-of-place perm.
Expand Down Expand Up @@ -170,7 +170,7 @@ function ifwht{T<:fftwNumber}(X::StridedVector{T}, region)
if isempty(region)
return Y
else
return [ Y[1 + ((i >> 1) $ i)] for i = 0:length(Y)-1 ]
return [ Y[1 + ((i >> 1) i)] for i = 0:length(Y)-1 ]
end
end

Expand Down

0 comments on commit e9a455e

Please sign in to comment.