Changes between Version 3 and Version 5 of Ticket #11368


Ignore:
Timestamp:
12/20/13 17:45:15 (8 years ago)
Author:
pbruin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11368

    • Property Status changed from new to needs_review
    • Property Authors changed from to Peter Bruin
    • Property Branch changed from to u/pbruin/11368-coerce_rational_function_field
  • Ticket #11368 – Description

    v3 v5  
    44sage: S = R.fraction_field()
    55sage: S(pari((x+y)/y))
    6 TypeError: no canonical coercion from Fraction Field of Multivariate Polynomial Ring in x, y over Rational Field to Rational Field 
     6TypeError: no canonical coercion from Fraction Field of Multivariate Polynomial Ring in x, y over Rational Field to Rational Field
    77}}}
    88However, if you replace (x+y)/y with x+y, it works (in other words, polynomials work but rational functions don't).