Skip to content

Commit 6a1318d

Browse files
committed
Qualify HasEltype
1 parent 7ede6be commit 6a1318d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ Base.convert(::Type{Axis{name,T}}, ax::Axis{name,T}) where {name,T} = ax
8383
Base.convert(::Type{Axis{name,T}}, ax::Axis{name}) where {name,T} = Axis{name}(convert(T, ax.val))
8484
Base.iterate(A::Axis, i...) = Base.iterate(A.val, i...)
8585

86-
Base.IteratorSize(::Type{<:Axis}) = HasShape{1}()
87-
Base.IteratorEltype(::Type{<:Axis}) = HasEltype()
86+
Base.IteratorSize(::Type{<:Axis}) = Base.HasShape{1}()
87+
Base.IteratorEltype(::Type{<:Axis}) = Base.HasEltype()
8888

8989
Base.iterate(::Type{T}) where {T<:Axis} = (T, nothing)
9090
Base.iterate(::Type{T}, ::Any) where {T<:Axis} = nothing

0 commit comments

Comments
 (0)