Opened 8 years ago
Closed 8 years ago
#1128 closed defect (fixed)
[with-patch+review] Coercion of complex numbers
Reported by: | robertwb | Owned by: | roed |
---|---|---|---|
Priority: | major | Milestone: | sage-2.8.15 |
Component: | basic arithmetic | Keywords: | |
Cc: | Merged in: | ||
Authors: | Reviewers: | ||
Report Upstream: | Work issues: | ||
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description
sage: ComplexField(200)(1) + RealField(100)(1) <type 'exceptions.TypeError'>: unsupported operand parent(s) for '+': 'Complex Field with 200 bits of precision' and 'Real Field with 100 bits of precision'
Should return an element of ComplexField?(100)
This should be an easy fix, see
Attachments (2)
Change History (8)
comment:1 Changed 8 years ago by mabshoff
- Milestone set to sage-2.8.13
comment:2 Changed 8 years ago by roed
- Owner changed from somebody to roed
Changed 8 years ago by roed
comment:3 Changed 8 years ago by roed
- Summary changed from Coercion of complex numbers to [with-patch] Coercion of complex numbers
comment:4 Changed 8 years ago by robertwb
Yep, works great.
comment:5 Changed 8 years ago by robertwb
- Summary changed from [with-patch] Coercion of complex numbers to [with-patch+review] Coercion of complex numbers
comment:6 Changed 8 years ago by mabshoff
- Resolution set to fixed
- Status changed from new to closed
Merged in 2.8.15.alpha2. I did merge trac1128.2.patch.
Note: See
TracTickets for help on using
tickets.
Adds algebraic completion functor