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 bug (sorted not in-place) #33

Merged
merged 1 commit into from
Aug 4, 2021
Merged

Fix bug (sorted not in-place) #33

merged 1 commit into from
Aug 4, 2021

Conversation

ronakice
Copy link
Member

@ronakice ronakice commented Aug 4, 2021

Switch out sorted to sort. The sorted function, the way it is used here doesn't do anything as it is in-place. This has been a silent bug that hasn't resulted in any issues.

@ronakice ronakice requested review from MXueguang and lintool August 4, 2021 02:26
@ronakice ronakice merged commit 85cb05c into master Aug 4, 2021
@ronakice ronakice deleted the bug-fix branch August 4, 2021 04:45
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.

2 participants