diff --git a/test/gradcheck.jl b/test/gradcheck.jl index f44cd1cca..b7fd5391f 100644 --- a/test/gradcheck.jl +++ b/test/gradcheck.jl @@ -1613,7 +1613,7 @@ end # same for the inverse @test gradient((X̂)->real.(fft(ifft(X̂))[i, j]), X̂)[1] ≈ indicateMat # same for rfft(irfft) - @test gradient((X)->real.(irfft(rfft(X), size(X,1)))[i, j], X)[1] ≈ real.(indicateMat) + @test_broken gradient((X)->real.(irfft(rfft(X), size(X,1)))[i, j], X)[1] ≈ real.(indicateMat) # rfft isn't actually surjective, so rfft(irfft) can't really be tested this way. # the gradients are actually just evaluating the inverse transform on the