Skip to content

Commit 3674d54

Browse files
dkarraschJeffBezanson
authored andcommitted
relax some Diagonal tests from #31443 (#32162)
(cherry picked from commit 1833a12)
1 parent c85b608 commit 3674d54

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

stdlib/LinearAlgebra/test/diagonal.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -450,10 +450,10 @@ end
450450
M = randn(T, 5, 5)
451451
MM = [randn(T, 2, 2) for _ in 1:2, _ in 1:2]
452452
for transform in (identity, adjoint, transpose, Adjoint, Transpose)
453-
@test lmul!(transform(D), copy(M)) == *(transform(Matrix(D)), M)
454-
@test rmul!(copy(M), transform(D)) == *(M, transform(Matrix(D)))
455-
@test lmul!(transform(DD), copy(MM)) == *(transform(fullDD), MM)
456-
@test rmul!(copy(MM), transform(DD)) == *(MM, transform(fullDD))
453+
@test lmul!(transform(D), copy(M)) *(transform(Matrix(D)), M)
454+
@test rmul!(copy(M), transform(D)) *(M, transform(Matrix(D)))
455+
@test lmul!(transform(DD), copy(MM)) *(transform(fullDD), MM)
456+
@test rmul!(copy(MM), transform(DD)) *(MM, transform(fullDD))
457457
end
458458
end
459459
end

0 commit comments

Comments
 (0)