Opened 5 years ago

Last modified 5 weeks ago

#25432 needs_review defect

conversion SR -> fraction fields

Reported by: vdelecroix Owned by:
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: symbolics Keywords: MathExp2018
Cc: Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

GitHub link to the corresponding issue

Description (last modified by mkoeppe)

This should work

sage: x = SR.var('x')
sage: QQ['x'].fraction_field()(1/x)
1/x
sage: QQbar['x'].fraction_field()(1/x)
Traceback (most recent last):
...
TypeError: cannot convert 1/x/1 to an element of Fraction Field of
Univariate Polynomial Ring in x over Algebraic Field

Change History (3)

comment:1 Changed 6 weeks ago by mkoeppe

Milestone: sage-8.3

comment:2 Changed 5 weeks ago by mkoeppe

Description: modified (diff)

Fixed typos in the example

comment:3 Changed 5 weeks ago by mkoeppe

Milestone: sage-duplicate/invalid/wontfix
Status: newneeds_review

Works OK in 9.8.beta6

Note: See TracTickets for help on using tickets.