Skip to content

Commit 8e0fe7f

Browse files
Update runtests.jl
1 parent 7e312ef commit 8e0fe7f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/runtests.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -536,6 +536,10 @@ end
536536
@test ldiv!(tempmat, lu(cmat + I), cmat) isa ComponentMatrix
537537
@test ldiv!(getdata(tempmat), lu(cmat + I), cmat) isa AbstractMatrix
538538

539+
c = (a=2, b=[1, 2]);
540+
x = ComponentArray(a=5, b=[(a=20., b=3.0), (a=33., b=2.0), (a=44., b=3.0)], c=c)
541+
@test ldiv!(rand(10),Diagonal(x), x) isa Vector
542+
539543
vca2 = vcat(ca2', ca2')
540544
hca2 = hcat(ca2, ca2)
541545
temp = ComponentVector(q = 100, r = rand(3, 3, 3))

0 commit comments

Comments
 (0)