Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add iterate method for Root objects #190

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

edtrelo
Copy link

@edtrelo edtrelo commented May 17, 2023

Solves #180

@Kolaru
Copy link
Collaborator

Kolaru commented Jun 14, 2023

Thanks for the contribution.

If you have any idea why the x86 tests are failing, that would be great, I'm personally quite confused.

or
- nothing: the iteration has been completed.
"""
function Base.iterate(r::Root{T}, state::Int64) where {T}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @edtrelo for your contribution.

Following on this comment, I think the error is due to this line: it imposes state to be Int64. I think the problem is solved if state is required to be Integer

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the sugguestion @lbenet. I've alredy changed the type of state.

@lbenet
Copy link
Member

lbenet commented Aug 14, 2023

Sorry, I didn't notice an approval was required to run the tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants