Skip to content

Commit

Permalink
Add test for size of BlockedSparse
Browse files Browse the repository at this point in the history
  • Loading branch information
dmbates committed Mar 1, 2021
1 parent ecc458f commit 7a75ebf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/UniformBlockDiagonal.jl
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ const LMM = LinearMixedModel
L21 = vf2'vf1
@test isa(L21, BlockedSparse)
@test L21[1,1] == 30.0
@test size(L21) == (344, 9452)
@test size(L21, 1) == 344
MixedModels.lmulΛ!(vf2', MixedModels.rmulΛ!(L21, vf1))
@test size(Matrix(L21)) == size(sparse(L21))
# L21cb1 = copy(L21.colblocks[1])
Expand Down

0 comments on commit 7a75ebf

Please sign in to comment.