Skip to content

Commit 4c630e0

Browse files
committed
1 parent cf5ccc9 commit 4c630e0

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
@@ -1309,12 +1309,12 @@ end
13091309
@test dot(u, 2D, v) == 2dot(u, v)
13101310
@test dot(u, Z, v) == 0
13111311

1312-
@test dot(Zeros(5), Zeros{ComplexF16}(5)) zero(ComplexF64)
1312+
@test @inferred(dot(Zeros(5), Zeros{ComplexF16}(5))) zero(ComplexF64)
13131313
@test @inferred(dot(Zeros(5), Ones{ComplexF16}(5))) zero(ComplexF64)
1314-
@test abs(dot(Ones{ComplexF16}(5), Zeros(5))) abs(dot(randn(5), Zeros{ComplexF16}(5))) abs(dot(Zeros{ComplexF16}(5), randn(5))) zero(Float64) # 0.0 !≡ -0.0
1315-
@test dot(c, Fill(1 + im, 15)) dot(Fill(1 + im, 15), c)' dot(c, fill(1 + im, 15))
1314+
@test abs(@inferred(dot(Ones{ComplexF16}(5), Zeros(5)))) abs(@inferred(dot(randn(5), Zeros{ComplexF16}(5)))) abs(@inferred(dot(Zeros{ComplexF16}(5), randn(5)))) zero(Float64) # 0.0 !≡ -0.0
1315+
@test @inferred(dot(c, Fill(1 + im, 15))) (@inferred(dot(Fill(1 + im, 15), c)))' @inferred(dot(c, fill(1 + im, 15)))
13161316

1317-
@test dot(Fill(1,5), Fill(2.0,5)) 10.0
1317+
@test @inferred(dot(Fill(1,5), Fill(2.0,5))) 10.0
13181318
@test_skip dot(Fill(true,5), Fill(Int8(1),5)) isa Int8 # not working at present
13191319

13201320
let N = 2^big(1000) # fast dot for fast sum

0 commit comments

Comments
 (0)