Skip to content

Conversation

sursh
Copy link

@sursh sursh commented Jul 15, 2016

I needed to patch histogram.py for my own needs so here are some manual changes I made. See commit messages for more details.

sursh added 2 commits July 15, 2016 12:09
1) Need integers later, not floats, so force integer division.
2) In the condition, you're implicitly using 'is', which checks to make
sure that True and length%2 are the exact same object, which they're
not. They are, however, equivalent, so let's use '=='
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant