id summary reporter owner description type status priority milestone component resolution keywords cc merged author reviewer upstream work_issues branch commit dependencies stopgaps
14485 Get rid of the bogus coercion from SR to QQbar tmonteil malb "Original issue: there is no problem buildind a polynomial over AA:
{{{
sage: R = AA[x]
sage: P = R(x^6+x^5+x^4-x^3+x^2-x+2/5)
}}}
But the same operation does not work on QQbar:
{{{
sage: S = QQbar[x]
sage: Q = S(x^6+x^5+x^4-x^3+x^2-x+2/5)
Traceback (most recent call last)
...
NotImplementedError: symbol
}}}
Hovewer, this workaround works:
{{{
sage: Q = P.change_ring(QQbar)
}}}
Moreover the following works :
{{{
sage: S. = PolynomialRing(QQbar,'x')
sage: Q = S(x^6+x^5+x^4-x^3+x^2-x+2/5)
sage: S == QQbar[x]
True
}}}
Weird isn't it ?
" defect closed minor sage-7.2 commutative algebra fixed QQbar, polynomial burcin Marc Mezzarobba Vincent Delecroix N/A 4ba720258752fc035549147219161e6568e80cde