Skip to content
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

Fix off-by-one error in longest strike features (fixes #577) #578

Merged
merged 1 commit into from
Oct 31, 2019
Merged

Fix off-by-one error in longest strike features (fixes #577) #578

merged 1 commit into from
Oct 31, 2019

Conversation

blu3r4y
Copy link
Contributor

@blu3r4y blu3r4y commented Oct 21, 2019

Use less and greater operators instead of less-or-equal and greater-or-equal operators in longest_strike_below_mean and longest_strike_above_mean to fix issue #577. I additionally added a few more test cases on this corner case.

@coveralls
Copy link

Coverage Status

Coverage remained the same at ?% when pulling 973d495 on blu3r4y:fix-longest-strike into c3d35c4 on blue-yonder:master.

@MaxBenChrist MaxBenChrist merged commit e6f5d3e into blue-yonder:master Oct 31, 2019
@MaxBenChrist
Copy link
Collaborator

Thanks for taking care of this!

@blu3r4y blu3r4y deleted the fix-longest-strike branch November 12, 2019 09:04
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.

None yet

3 participants