Skip to content

RepeatMask.iterator: float division, NameError, Partial tiles#42

Open
Nityahiray wants to merge 1 commit intoINCF:masterfrom
Nityahiray:patch-3
Open

RepeatMask.iterator: float division, NameError, Partial tiles#42
Nityahiray wants to merge 1 commit intoINCF:masterfrom
Nityahiray:patch-3

Conversation

@Nityahiray
Copy link

Fix three bugs in the previously partial repeat Mask Implementation.
-'(low1 + N) / N * N' use '/' (Python 3 true division) instead pf '//'
-NameError on empty template: 'pre'/'post' read before assignment
-Partial boundary tiles silently dropped at low and high range edges

Removes the "Not fully implemented" comment.

Refactor iterator method to improve readability and efficiency.
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.

1 participant