Skip to content

Commit 0aa366b

Browse files
committed
Test handling of complex numbers in outer product
The ConjArray wrapper type means we have to deal with a bit more dispatch, so use it for testing.
1 parent 2a87ba2 commit 0aa366b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/sparse/sparse.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ end
319319
@test issparse(Vector(g) * g')
320320
@test kron(g, g') == g * g'
321321
@test Array(g * g') == Array(g) * Array(g')
322-
h = view(b, :, 2)
322+
h = view(sprand(Complex{Float64}, 10, 2, 0.5), :, 1)
323323
@test issparse(h * h')
324324
@test issparse(h * Vector(h)')
325325
@test issparse(Vector(h) * h')

0 commit comments

Comments
 (0)