Skip to content

Moving Typecast in Neighbours Outside of Loop#222

Open
GabrielBram wants to merge 2 commits intomainfrom
fix_bug_neighbours
Open

Moving Typecast in Neighbours Outside of Loop#222
GabrielBram wants to merge 2 commits intomainfrom
fix_bug_neighbours

Conversation

@GabrielBram
Copy link
Collaborator

The typecasting from set to list in this case means that .add() method is called erroneously on a list type. This should hopefully be resolved by only typecasting the final result rather than doing so for the intermediate result at each cycle.

@GabrielBram GabrielBram requested a review from GaryLZW January 22, 2026 15:01
@codecov
Copy link

codecov bot commented Jan 22, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Copy link
Collaborator

@GaryLZW GaryLZW left a comment

Choose a reason for hiding this comment

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

Looks good to me.

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