-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve readability of V-Mapper with single-assignment.
- Loading branch information
Showing
1 changed file
with
13 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
66fc98d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, now I see what you meant by your single assignment suggestion.
I think I got stuck on adding the flipping code to the existing code instead of stepping back and re-doing this from scratch as if no code were there yet.
I agree that your version is also totally readable and actually prefer your x_panel_start and x_within_panel variable names.
Thanks for the fixup.
(and yes, I verified that this works just as well)