You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# The main subtlety here is that iterating over N0f8(0):N0f8(1) will wrap around
# unless we iterate using a wider type
@inlinestart(r::StepRange{T}) where {T <:Normed} =widen1(reinterpret(r.start))
@inlinenext(r::StepRange{T}, i::Integer) where {T <:Normed} = (T(i,0), i+reinterpret(r.step))
@inlinefunctiondone(r::StepRange{T}, i::Integer) where {T <:Normed}
i1, i2 =reinterpret(r.start), reinterpret(r.stop)
isempty(r) | (i <min(i1, i2)) | (i >max(i1, i2))
end
These methods were already decoupled from Base two years ago (cf. PR #112). Also, Range has been fixed in PR #163.
I should have noticed when I was reviewing PR #163 that they are probably fine to be removed. Since they are no longer exported, I don't think a deprecation notice is necessary.
The text was updated successfully, but these errors were encountered:
The
start
,next
anddone
functions were used in iterators prior to Julia v0.7.FixedPointNumbers.jl/src/normed.jl
Lines 287 to 294 in 5dcaf97
These methods were already decoupled from
Base
two years ago (cf. PR #112). Also,Range
has been fixed in PR #163.I should have noticed when I was reviewing PR #163 that they are probably fine to be removed. Since they are no longer exported, I don't think a deprecation notice is necessary.
The text was updated successfully, but these errors were encountered: