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
Problem with rational_points over plane curves AND addition of rational_points_iterator function #8428
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Applies to 4.3.3 |
Attachment: trac_8428_rational_points_iterator.2.patch.gz Applies to 4.3.3 |
comment:5
Attachment: trac_8428_rational_points_iterator.patch.gz |
comment:6
Apologies; both copies of the patch are the same, I double-clicked and am unable to remove the 2nd copy. |
comment:8
Fixes the bug, doctested and doctests pass. Positive review. |
Reviewer: David Roe |
Merged: sage-4.4.alpha0 |
comment:9
Merged "trac_8428_rational_points_iterator.patch" into 4.4.alpha0. |
The newly "improved" rational_points function for projective plane curves (#8193) has a bug; if for some (Y,Z) the polynomial defining the curve becomes identically 0, it returns a ValueError caused by the function trying to factorise 0 as a polynomial.
Here is an example
I propose to write new rational_points_iterator function that will return an iterator over the set of rational points of the projective plane curve. It will avoid this bug. It will be called by rational_points to return a list of all these rational points. A patch to do all of this is on its way.
CC: @JohnCremona
Component: algebraic geometry
Author: Charlie Turner
Reviewer: David Roe
Merged: sage-4.4.alpha0
Issue created by migration from https://trac.sagemath.org/ticket/8428
The text was updated successfully, but these errors were encountered: