Ticket #7591 (closed defect: fixed)
Boolean Polynomial Ring coercion broken
| Reported by: | malb | Owned by: | malb |
|---|---|---|---|
| Priority: | major | Milestone: | sage-4.3 |
| Component: | commutative algebra | Keywords: | |
| Cc: | burcin | Work issues: | |
| Report Upstream: | N/A | Reviewers: | Burcin Erocal |
| Authors: | Martin Albrecht | Merged in: | sage-4.3.rc0 |
| Dependencies: | Stopgaps: |
Description
This is really bad
sage: B.<a,b,c> = BooleanPolynomialRing(order='lex')
sage: P.<a,b,c> = BooleanPolynomialRing(order='degrevlex')
sage: P(B('a')) # good
a
sage: B(P('c')) # urgh!
a
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


The attached patch fixes the issue for me. Burcin, can I ask you to review this patch?