You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix segfault for Weil polynomials
Eliminate a segfault that occurs when asking for Weil polynomials of
degree 0 and sign -1 (which do not exist, so the iterator should return
empty). This fixessagemath#37860.
URL: sagemath#37861
Reported by: kedlaya
Reviewer(s): Travis Scrimshaw
vbraun
pushed a commit
to vbraun/sage
that referenced
this issue
May 12, 2024
Fix segfault for Weil polynomials
Eliminate a segfault that occurs when asking for Weil polynomials of
degree 0 and sign -1 (which do not exist, so the iterator should return
empty). This fixessagemath#37860.
URL: sagemath#37861
Reported by: kedlaya
Reviewer(s): Travis Scrimshaw
vbraun
pushed a commit
to vbraun/sage
that referenced
this issue
May 12, 2024
Fix segfault for Weil polynomials
Eliminate a segfault that occurs when asking for Weil polynomials of
degree 0 and sign -1 (which do not exist, so the iterator should return
empty). This fixessagemath#37860.
URL: sagemath#37861
Reported by: kedlaya
Reviewer(s): Travis Scrimshaw
Steps To Reproduce
R. = ZZ[]
R.weil_polynomials(0,1,-1)
Expected Behavior
This should return an empty list.
Actual Behavior
Currently it results in a segmentation failure.
Additional Information
No response
Environment
Checklist
The text was updated successfully, but these errors were encountered: