Skip to content

Commit

Permalink
getindex_count fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
meggart committed Oct 18, 2024
1 parent 061354e commit 94f7ee9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ end
@test a[Int[]] == Int[]
@test a[:,Int[],:] == zeros(Int,4,0,1)
@test a[Int[],:,:] == zeros(Int,0,5,1)
@test getindex_count(a) == 4
@test getindex_count(a) == 1

coords = CartesianIndex.([(1, 1, 1), (3, 1, 1), (2, 4, 1), (4, 4, 1)])
@test a[coords] == trueparent(a)[coords]
Expand Down

0 comments on commit 94f7ee9

Please sign in to comment.