-
Notifications
You must be signed in to change notification settings - Fork 164
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
Wrong result from LT for rational numbers! #3474
Comments
Turns out that this is actually an integer problem
|
Looks like the bug is in src/integer.c:1210
This is incorrect when the two values are equal. |
Seems to have been introduced in a refactoring last December. |
I have a fix. Will make PR shortly. |
Ouch, that's quite terrible. Glad you caught it. |
This still has to be cherry-picked onto |
@alex-konovalov The fix for this (PR #3478) has been backported to |
The fix backported to stable-4.10 in commit 3ad3a2b |
Arising from a bug that Leonard Soicher had, we have a reproducible serious bug in rational number arithmetic
Observed behaviour
Expected behaviour
x < y
andy < x
should return false.Copy and paste GAP banner (to tell us about your setup)
I'm looking into this now.
The text was updated successfully, but these errors were encountered: