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 sorting #824

Closed
wants to merge 1 commit into from
Closed

Conversation

venkatesh3007
Copy link

mid = (lo + hi) / 2 return 1/2. This causes an infinite while loop.

@venkatesh3007
Copy link
Author

fixes #823

@@ -19,7 +19,7 @@ def <<( new_field )
hi = size

while lo < hi
mid = (lo + hi) / 2
mid = (lo + hi).div(2)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs a test case that demonstrates that the problem is fixed.

@jeremy jeremy mentioned this pull request Oct 31, 2014
@jeremy
Copy link
Collaborator

jeremy commented Oct 31, 2014

I assume this is a mathn issue. Needs a test case demonstrating what the issue is and that it's fixed by this change.

@jeremy
Copy link
Collaborator

jeremy commented May 15, 2017

Duplicate of #754

@jeremy jeremy closed this May 15, 2017
@jeremy
Copy link
Collaborator

jeremy commented May 15, 2017

Fixed by #795

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

2 participants