Skip to content

Commit ae33ab5

Browse files
fixed bug in test
1 parent d1a4afb commit ae33ab5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/czt.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ using NDTools # this is needed for the select_region! function below.
88
y = randn(ComplexF32, (5,6))
99
zoom = (1.0,1.0,1.0)
1010
@test (czt(x, zoom), ft(x),rtol=1e-4)
11-
@test (czt(y, zoom), ft(y),rtol=1e-5)
12-
@test (iczt(czt(y,zoom),zoom), y, rtol=1e-5)
11+
@test (czt(y, (1.0,1.0)), ft(y),rtol=1e-5)
12+
@test (iczt(czt(y, (1.0,1.0)), (1.0,1.0)), y, rtol=1e-5)
1313
zoom = (2.0,2.0)
1414
@test (czt(y,zoom), select_region(upsample2(ft(y), fix_center=true),new_size=size(y)), rtol=1e-5)
1515
# zoom smaller 1.0 causes wrap around:

0 commit comments

Comments
 (0)