Skip to content

Commit 3aff6e8

Browse files
committed
Tests with non-zero beta
1 parent e1ea9b1 commit 3aff6e8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/runtests.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1519,7 +1519,9 @@ end
15191519
A = reshape([S,2S,3S,4S],2,2)
15201520
F = Fill(S',2,2)
15211521
@test A * F == A * fill(S',size(F))
1522+
@test mul!(A * F, A, F, 2, 1) == 3 * A * fill(S',size(F))
15221523
@test F * A == fill(S',size(F)) * A
1524+
@test mul!(F * A, F, A, 2, 1) == 3 * fill(S',size(F)) * A
15231525

15241526
# doubly nested
15251527
A = [[[1,2]]]'
@@ -1531,6 +1533,7 @@ end
15311533
A = reshape([x,2x,3x,4x],2,2)
15321534
F = Fill(x,2,2)
15331535
@test A' * F == A' * fill(x,size(F))
1536+
@test mul!(A' * F, A', F, 2, 1) == 3 * A' * fill(x,size(F))
15341537
end
15351538

15361539
for W in (zeros(3,4), @MMatrix zeros(3,4))

0 commit comments

Comments
 (0)