Skip to content

Commit

Permalink
Tests with non-zero beta
Browse files Browse the repository at this point in the history
  • Loading branch information
jishnub committed Dec 6, 2023
1 parent b291fd5 commit bb16559
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1532,7 +1532,9 @@ end
A = reshape([S,2S,3S,4S],2,2)
F = Fill(S',2,2)
@test A * F == A * fill(S',size(F))
@test mul!(A * F, A, F, 2, 1) == 3 * A * fill(S',size(F))
@test F * A == fill(S',size(F)) * A
@test mul!(F * A, F, A, 2, 1) == 3 * fill(S',size(F)) * A

# doubly nested
A = [[[1,2]]]'
Expand All @@ -1544,6 +1546,7 @@ end
A = reshape([x,2x,3x,4x],2,2)
F = Fill(x,2,2)
@test A' * F == A' * fill(x,size(F))
@test mul!(A' * F, A', F, 2, 1) == 3 * A' * fill(x,size(F))
end

for W in (zeros(3,4), @MMatrix zeros(3,4))
Expand Down

0 comments on commit bb16559

Please sign in to comment.