Skip to content

Commit 8fb6bec

Browse files
fix noindex test regression
1 parent 40f1604 commit 8fb6bec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/noindex_tests.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Base.axes(x::NoIndexArray) = axes(x.x)
99
Base.similar(x::NoIndexArray, dims::Union{Integer, AbstractUnitRange}...) = NoIndexArray(similar(x.x, dims...))
1010
Base.copyto!(x::NoIndexArray, y::NoIndexArray) = NoIndexArray(copyto!(x.x, y.x))
1111
Base.copy(x::NoIndexArray) = NoIndexArray(copy(x.x))
12+
Base.zero(x::NoIndexArray) = NoIndexArray(zero(x.x))
1213
Base.fill!(x::NoIndexArray, y) = NoIndexArray(fill!(x.x, y))
1314
Base.mapreduce(f, op, x::NoIndexArray; kwargs...) = mapreduce(f, op, x.x; kwargs...)
1415
Base.any(f::Function, x::NoIndexArray; kwargs...) = any(f, x.x; kwargs...)

0 commit comments

Comments
 (0)