Skip to content

Commit c171997

Browse files
committed
Change some more constructors
1 parent 00e6288 commit c171997

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

test/diagonal.jl

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -298,14 +298,14 @@ LinearAlgebra.istril(N::NotDiagonal) = istril(N.a)
298298
end
299299
end
300300
Msym = Array(Asym)
301-
@test Array(D*transpose(Asym)) M * transpose(Msym)
302-
@test Array(D*adjoint(Asym)) M * Array(adjoint(Asym))
303-
@test Array(D*transpose(Aherm)) M * Array(transpose(Aherm))
304-
@test Array(D*adjoint(Aherm)) M * Array(adjoint(Aherm))
305-
@test Array(Asym*transpose(D)) Msym * Array(transpose(D))
306-
@test Array(transpose(D)*Asym) Array(transpose(D)) * Msym
307-
@test Array(adjoint(Aherm)*adjoint(D)) Array(adjoint(Aherm)) * Array(adjoint(D))
308-
@test Array(adjoint(D)*adjoint(Aherm)) Array(adjoint(D)) * Array(adjoint(Aherm))
301+
@test convert(Array, D*transpose(Asym)) M * convert(Array, transpose(Msym))
302+
@test convert(Array, D*adjoint(Asym)) M * convert(Array, adjoint(Asym))
303+
@test convert(Array, D*transpose(Aherm)) M * convert(Array, transpose(Aherm))
304+
@test convert(Array, D*adjoint(Aherm)) M * convert(Array, adjoint(Aherm))
305+
@test convert(Array, Asym*transpose(D)) Msym * convert(Array, transpose(D))
306+
@test convert(Array, transpose(D)*Asym) convert(Array, transpose(D)) * Msym
307+
@test convert(Array, adjoint(Aherm)*adjoint(D)) convert(Array, adjoint(Aherm)) * convert(Array, adjoint(D))
308+
@test convert(Array, adjoint(D)*adjoint(Aherm)) convert(Array, adjoint(D)) * convert(Array, adjoint(Aherm))
309309

310310
# Performance specialisations for A*_mul_B!
311311
vvv = similar(vv)

0 commit comments

Comments
 (0)