Ticket #3004 (closed defect: fixed)
bug in coercion edge case -- probably easy to fix
| Reported by: | was | Owned by: | somebody |
|---|---|---|---|
| Priority: | major | Milestone: | sage-3.2 |
| Component: | basic arithmetic | Keywords: | |
| Cc: | Work issues: | ||
| Report Upstream: | Reviewers: | ||
| Authors: | Merged in: | ||
| Dependencies: | Stopgaps: |
Description
bug from Kari Christianson:
sage: PolynomialRing(ZZ, 'x').gen()*Mod(1,15) x
sage: PolynomialRing(ZZ, 1, 'x').gen()*Mod(1,15) Traceback (most recent call last): ... TypeError: unsupported operand parent(s) for '*': 'Multivariate Polynomial Ring in x over Integer Ring' and 'Ring of integers modulo 15'
Change History
Note: See
TracTickets for help on using
tickets.

This has been fixed by the new coercion system:
Cheers,
Michael