Closed Fang- closed 5 years ago
Nice catch, LGTM. I think we should probably have some kind of checklist for refactoring next time. @c-johnson
I think we should probably have some kind of checklist for refactoring next time.
After this gets released, the checklist for future versions/revisions is just "does it give the same output for all kinds of inputs?"
This is that instance. Incorrect variable naming is no bueno! Pretty sure this fixes it.
Prior to making this change, one test failed. After making this change, two tests failed, because this changes the output to be more correct, which the tests don't yet account for.
(May or may not fix the tests myself, but putting this PR out so it can start being reviewed.