Changes between Initial Version and Version 7 of Ticket #5679
 Timestamp:
 07/15/15 07:07:48 (6 years ago)
Legend:
 Unmodified
 Added
 Removed
 Modified

Ticket #5679

Property
Milestone
changed from
sage5.11
tosage6.4

Property
Summary
changed from
fix a bug in solve and polynomial generators
tosolve should convert additional args to SR

Property
Report Upstream
changed from
to
N/A

Property
Milestone
changed from

Ticket #5679 – Description
initial v7 5 5 >>> R.<x0,x1,x2> = PolynomialRing(RR, 3) 6 6 >>> solve([symbolic_expression(x0) == 0], x0, x1, x2) 7 Traceback (most recent call last):8 File "<stdin>", line 1, in <module>9 File "/Users/anakha/.sage/sage_notebook/worksheets/admin/12/code/30.py",10 line 8, in <module>11 solve(x0 == _sage_const_0 , x0, x1, x2)12 File "/Volumes/Place/anakha/Applications/sage/local/lib/python2.5/sitepackages/SQLAlchemy0.4.6py2.5.egg/",13 line 1, in <module>14 7 15 File "/Volumes/Place/anakha/Applications/sage3.4/local/lib/python2.5/sitepackages/sage/calculus/equations.py",16 line 1563, in solve17 raise TypeError, "%s is not a valid variable."%v18 8 TypeError: not all arguments converted during string formatting 9 10 BUT: 11 sage: solve([symbolic_expression(x0) == 0], SR(x0), SR(x1), SR(x2)) 12 ([{x0: 0}], [1]) 19 13 20 14 The printing problem is due to the fact that Polynomials have an