id,summary,reporter,owner,description,type,status,priority,milestone,component,resolution,keywords,cc,work_issues,upstream,reviewer,author,merged,dependencies,stopgaps
3359,"[with patch, positive review] bug/inconsistency in multivariate polynomial substitution",was,malb,"{{{
Dear Andrey,

On Jun 4, 7:21 am, Andrey Novoseltsev <novos...@gmail.com> wrote:
> What is wrong with the code below and how to fix it?

I don't know what precisely is wrong with that code, but a very
similar code works.

First, i can reproduce the trouble:
sage: Rt.<t> = PolynomialRing(QQ,1)
sage: p = 1+t
sage: R.<u,v> = PolynomialRing(QQ, 2)
sage: p(u/v)
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call
last)
...

The following works:
sage: Rt2.<t> = PolynomialRing(QQ)
sage: p2 = 1+t
sage: p2(u/v)
(u + v)/v

The difference is that Rt is a Multivariate Polynomial Ring (with one
variable, though), but Rt2 is a genuine Univariate Polynomial Ring.

So, at least there is a work-around.
}}}",defect,closed,minor,sage-3.1.2,commutative algebra,fixed,,,,,,,,,
