Skip to content

Commit 7d1debc

Browse files
a few last fixes.
1 parent ae33ab5 commit 7d1debc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/src/resampling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ The right image is the upsampled version of the left one.
6767
![](assets/image_low_res.png)
6868
![](assets/image_high_res.png)
6969

70-
There are fast versions (`upsample2`)for upsampling by a factor of 2.
70+
There are fast versions (`upsample2`) for upsampling by a factor of 2.
7171

7272

7373
## Function References

src/resampling.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ function resample_czt(arr::AbstractArray{T,N}, rel_zoom;
242242
if T<:Real
243243
f_res = real(FourierTools.czt_1d(f_res, my_zoom, d; remove_wrap=remove_wrap, pad_value=pad_value))
244244
else
245-
f_res = T.(FourierTools.czt_1d(f_res, my_zoom, d; remove_wrap=remove_wrap, pad_value=pad_value))
245+
f_res = FourierTools.czt_1d(f_res, my_zoom, d; remove_wrap=remove_wrap, pad_value=pad_value)
246246
end
247247
select_region!(f_res, arr)
248248
# case of position dependent zoom functions

0 commit comments

Comments
 (0)