Ticket #13845 (closed defect: fixed)
BooleanPolynomialRing.random_element chokes on terms parameter of type rational
| Reported by: | malb | Owned by: | AlexGhitza |
|---|---|---|---|
| Priority: | major | Milestone: | sage-5.6 |
| Component: | basic arithmetic | Keywords: | |
| Cc: | AlexanderDreyer, PolyBoRi | Work issues: | |
| Report Upstream: | None of the above - read trac for reasoning. | Reviewers: | Alexander Dreyer |
| Authors: | Martin Albrecht | Merged in: | sage-5.6.beta2 |
| Dependencies: | Stopgaps: |
Description
This shouldn't produce an error:
sage: n = 10 sage: B = BooleanPolynomialRing(n, 'x') sage: B.random_element(terms=(n/2)**2))
Attachments
Change History
comment:1 Changed 5 months ago by malb
- Cc AlexanderDreyer, PolyBoRi added
- Status changed from new to needs_review
- Authors set to Martin Albrecht
Note: See
TracTickets for help on using
tickets.

