Skip to content

Commit 7cba04e

Browse files
committed
fix broken tests
1 parent a27b52c commit 7cba04e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/runtests.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -240,12 +240,12 @@ end
240240
@test (P')' * x == P * x # test adjoint of adjoint
241241
@test size(P') == AbstractFFTs.output_size(P) # test size of adjoint
242242
@test dot(y, P * x) dot(P' * y, x) # test validity of adjoint
243-
@test_broken dot(y, P \ x) dot(P' \ y, x)
243+
@test dot(y, P \ x) dot(P' \ y, x)
244244
Pinv = plan_ifft(y)
245245
@test (Pinv')' * y == Pinv * y
246246
@test size(Pinv') == AbstractFFTs.output_size(Pinv)
247247
@test dot(x, Pinv * y) dot(Pinv' * x, y)
248-
@test_broken dot(x, Pinv \ y) dot(Pinv' \ x, y)
248+
@test dot(x, Pinv \ y) dot(Pinv' \ x, y)
249249
end
250250
end
251251
end
@@ -260,12 +260,12 @@ end
260260
@test (P')' * x == P * x
261261
@test size(P') == AbstractFFTs.output_size(P)
262262
@test dot(y_real, real.(P * x)) + dot(y_imag, imag.(P * x)) dot(P' * y, x)
263-
@test_broken dot(y_real, real.(P \ x)) + dot(y_imag, imag.(P \ x)) dot(P' * y, x)
263+
@test dot(y_real, real.(P' \ x)) + dot(y_imag, imag.(P' \ x)) dot(P \ y, x)
264264
Pinv = plan_irfft(y, size(x)[first(dims)], dims)
265265
@test (Pinv')' * y == Pinv * y
266266
@test size(Pinv') == AbstractFFTs.output_size(Pinv)
267267
@test dot(x, Pinv * y) dot(y_real, real.(Pinv' * x)) + dot(y_imag, imag.(Pinv' * x))
268-
@test_broken dot(x, Pinv \ y) dot(y_real, real.(Pinv' \ x)) + dot(y_imag, imag.(Pinv' \ x))
268+
@test dot(x, Pinv' \ y) dot(y_real, real.(Pinv \ x)) + dot(y_imag, imag.(Pinv \ x))
269269
end
270270
end
271271
end

0 commit comments

Comments
 (0)