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

weil_polynomials #37860

Closed
2 tasks done
stevehuang235 opened this issue Apr 24, 2024 · 0 comments · Fixed by #37861
Closed
2 tasks done

weil_polynomials #37860

stevehuang235 opened this issue Apr 24, 2024 · 0 comments · Fixed by #37861
Labels
Milestone

Comments

@stevehuang235
Copy link

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

- **OS**: macOS Monterey 12.5.1
- **Sage Version**: 10.1

Checklist

  • I have searched the existing issues for a bug report that matches the one I want to file, without success.
  • I have read the documentation and troubleshoot guide
vbraun pushed a commit to vbraun/sage that referenced this issue May 11, 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 fixes sagemath#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 fixes sagemath#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 fixes sagemath#37860.
    
URL: sagemath#37861
Reported by: kedlaya
Reviewer(s): Travis Scrimshaw
@mkoeppe mkoeppe added this to the sage-10.4 milestone May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants