Skip to content

Commit 54e1974

Browse files
committed
Only test reinterpret(reshape,...) on Julia >= 1.6
1 parent 511fa4c commit 54e1974

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

test/threading.jl

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,12 @@ end
118118
C1 = A * B; C0 = similar(C1);
119119
@test AmulB!(C0, A, B) C1
120120

121-
x = randn(Complex{Float64}, 3M-1);
122-
W = randn(Complex{Float64}, 3M-1, 3M+1);
123-
y = randn(Complex{Float64}, 3M+1);
124-
@test dot(x,W,y) dot3(x,W,y)
121+
if VERSION v"1.6"
122+
x = randn(Complex{Float64}, 3M-1);
123+
W = randn(Complex{Float64}, 3M-1, 3M+1);
124+
y = randn(Complex{Float64}, 3M+1);
125+
@test dot(x,W,y) dot3(x,W,y)
126+
end
125127

126128
kern = OffsetArray(randn(3,3),-2,-2)
127129
out1 = OffsetArray(randn(size(A) .- 2), 1, 1)

0 commit comments

Comments
 (0)