Skip to content

Avoid loop variable pollution for recursive objects #18

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

Merged
merged 1 commit into from
Apr 24, 2017

Conversation

bp-dev
Copy link
Contributor

@bp-dev bp-dev commented Apr 24, 2017

Enables proper recursion on sub-objects. Otherwise the i and j indices are in the global scope and looping of the sub objects changes the index of the parent objects loop, leading to missing data or crashes.
Fixes issue #6

@afshinm afshinm merged commit 4e4469b into afshinm:master Apr 24, 2017
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.

2 participants