Skip to content

Commit ab56491

Browse files
further changes
1 parent f09fc3e commit ab56491

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/fourier_resizing.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ function rft_pad(mat, new_size)
138138
return select_region(mat;new_size=new_size, center=c2.+1)
139139
end
140140

141-
function ft_fix_before(mat, size_old, size_new; start_dim=1)
141+
function ft_fix_before(mat::AbstractArray{T, N}, size_old, size_new; start_dim=1)::FourierJoin{T,N,AbstractArray{T, N}} where {T,N}
142142
for d = start_dim:ndims(mat)
143143
sn = size_new[d]
144144
so = size_old[d]
@@ -149,7 +149,7 @@ function ft_fix_before(mat, size_old, size_new; start_dim=1)
149149
return mat
150150
end
151151

152-
function ft_fix_after(mat,size_old,size_new; start_dim=1)
152+
function ft_fix_after(mat::AbstractArray{T, N},size_old,size_new; start_dim=1)::FourierSplit{T,N,AbstractArray{T, N}} where {T,N}
153153
start_dim
154154
ndims(mat)
155155
for d=start_dim:ndims(mat)

0 commit comments

Comments
 (0)