Skip to content

Commit 140eff9

Browse files
juhyun-kim-uclaHua-Zhou
authored andcommitted
add testing for trilind
1 parent 0e4ad0d commit 140eff9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

test/multivariate_calculus_test.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ end
2323
n = 3
2424
A = randn(n, n)
2525
@test norm(vech(A) - A[trilind(A)]) 0.0
26+
@test norm([2, 3, 6] - trilind(A, -1)) 0.0
2627
end
2728

2829
# test triuind

0 commit comments

Comments
 (0)