Skip to content

Commit a913493

Browse files
committed
Test for scaling changes
1 parent e76f28d commit a913493

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/triangular.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -950,6 +950,10 @@ end
950950
@test 2\U == 2\M
951951
@test U*2 == M*2
952952
@test 2*U == 2*M
953+
954+
U2 = copy(U)
955+
@test rmul!(U, 1) == U2
956+
@test lmul!(1, U) == U2
953957
end
954958

955959
@testset "scaling partly initialized unit triangular" begin

0 commit comments

Comments
 (0)