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 panic when querying #65

Merged
merged 3 commits into from
Jan 1, 2019
Merged

Fix panic when querying #65

merged 3 commits into from
Jan 1, 2019

Conversation

whereswaldon
Copy link
Member

I implemented a regression test to reproduce the problem, then fixed the code to pass it. I think this is a simple mistake that I made back when I first wrote the archive. Thanks for reporting it!

Closes #61

I *think* this problem was a copy&paste error from implementing Last(). It
used the length of the wrong slice when it tried to get the "last" n elements
of a slice.

Fixes #61
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.

Run-time Error: Slice bounds out of range when querying history
2 participants