From be6f997d8b67a8fdec711eb687ab94fea42079ec Mon Sep 17 00:00:00 2001 From: Edgar Trejo <54153553+edtrelo@users.noreply.github.com> Date: Mon, 31 Jul 2023 16:58:37 -0600 Subject: [PATCH] Change type of the 'state' parameter from Int64 to Integer --- src/root_object.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/root_object.jl b/src/root_object.jl index 106a2d1..d0c666c 100644 --- a/src/root_object.jl +++ b/src/root_object.jl @@ -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 \ No newline at end of file +end