Skip to content

Commit

Permalink
Test OffsetArray sums using Integer-valued parents (#358)
Browse files Browse the repository at this point in the history
  • Loading branch information
jishnub authored Aug 18, 2024
1 parent 3910605 commit c0bf404
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 @@ -2058,7 +2058,7 @@ end
end

@testset "reductions" begin
A = OffsetArray(rand(4,4), (-3,5))
A = OffsetArray(rand(Int,4,4), (-3,5))
@test maximum(A) == maximum(parent(A))
@test minimum(A) == minimum(parent(A))
@test extrema(A) == extrema(parent(A))
Expand Down

0 comments on commit c0bf404

Please sign in to comment.