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

Bug in FloodFill algorithm #88

Open
dk2k opened this issue Nov 7, 2022 · 0 comments
Open

Bug in FloodFill algorithm #88

dk2k opened this issue Nov 7, 2022 · 0 comments

Comments

@dk2k
Copy link

dk2k commented Nov 7, 2022

Line 62 should be
if (x < 0 || y < 0 || x >= picture.length || y >= picture[x].length) {

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

No branches or pull requests

1 participant