Skip to content

Commit 97999e8

Browse files
committed
Test for scaling changes
1 parent 2b01cdc commit 97999e8

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
@@ -942,6 +942,10 @@ end
942942
@test 2\U == 2\M
943943
@test U*2 == M*2
944944
@test 2*U == 2*M
945+
946+
U2 = copy(U)
947+
@test rmul!(U, 1) == U2
948+
@test lmul!(1, U) == U2
945949
end
946950

947951
@testset "indexing checks" begin

0 commit comments

Comments
 (0)