Skip to content

Commit

Permalink
Change type of the 'state' parameter from Int64 to Integer
Browse files Browse the repository at this point in the history
  • Loading branch information
edtrelo committed Jul 31, 2023
1 parent 100ebf5 commit be6f997
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/root_object.jl
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@ end
or
- nothing: the iteration has been completed.
"""
function Base.iterate(r::Root{T}, state::Int64) where {T}
function Base.iterate(r::Root{T}, state::Integer) where {T}
if state == 1
state = 2
return (r.status, state)
end
# there are no more items to be iterated
return nothing
end
end

0 comments on commit be6f997

Please sign in to comment.