File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ version = "1.5.0"
55[deps ]
66ChainRulesCore = " d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
77LinearAlgebra = " 37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
8- Random = " 9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
98Test = " 8dfed614-e22c-5e08-85e1-65c5234f0b40"
109
1110[weakdeps ]
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ using AbstractFFTs
66using AbstractFFTs: TestUtils
77using AbstractFFTs. LinearAlgebra
88using Test
9- import Random
109
1110# Ground truth x_fft computed using FFTW library
1211const TEST_CASES = (
7776function TestUtils. test_plan_adjoint (P:: AbstractFFTs.Plan , x:: AbstractArray ;
7877 real_plan= false , copy_input= false , test_wrappers= true )
7978 _copy = copy_input ? copy : identity
80- y = Random . rand! ( P * _copy (x))
79+ y = map (a -> rand ( typeof (a)), P * _copy (x)) # generically construct rand array
8180 # test basic properties
8281 @test_skip eltype (P' ) === typeof (y) # (AbstractFFTs.jl#110)
8382 @test (P' )' === P # test adjoint of adjoint
You can’t perform that action at this time.
0 commit comments