File tree 2 files changed +1
-3
lines changed
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"
5
5
[deps ]
6
6
ChainRulesCore = " d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
7
7
LinearAlgebra = " 37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
8
- Random = " 9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
9
8
Test = " 8dfed614-e22c-5e08-85e1-65c5234f0b40"
10
9
11
10
[weakdeps ]
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ using AbstractFFTs
6
6
using AbstractFFTs: TestUtils
7
7
using AbstractFFTs. LinearAlgebra
8
8
using Test
9
- import Random
10
9
11
10
# Ground truth x_fft computed using FFTW library
12
11
const TEST_CASES = (
77
76
function TestUtils. test_plan_adjoint (P:: AbstractFFTs.Plan , x:: AbstractArray ;
78
77
real_plan= false , copy_input= false , test_wrappers= true )
79
78
_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
81
80
# test basic properties
82
81
@test_skip eltype (P' ) === typeof (y) # (AbstractFFTs.jl#110)
83
82
@test (P' )' === P # test adjoint of adjoint
You can’t perform that action at this time.
0 commit comments