Changes between Initial Version and Version 7 of Ticket #5679


Ignore:
Timestamp:
07/15/15 07:07:48 (6 years ago)
Author:
rws
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5679

    • Property Milestone changed from sage-5.11 to sage-6.4
    • Property Summary changed from fix a bug in solve and polynomial generators to solve should convert additional args to SR
    • Property Report Upstream changed from to N/A
  • Ticket #5679 – Description

    initial v7  
    55>>> R.<x0,x1,x2> = PolynomialRing(RR, 3)
    66>>> 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/site-packages/SQLAlchemy-0.4.6-py2.5.egg/",
    13 line 1, in <module>
    147
    15  File "/Volumes/Place/anakha/Applications/sage-3.4/local/lib/python2.5/site-packages/sage/calculus/equations.py",
    16 line 1563, in solve
    17    raise TypeError, "%s is not a valid variable."%v
    188TypeError: not all arguments converted during string formatting
     9
     10BUT:
     11sage: solve([symbolic_expression(x0) == 0], SR(x0), SR(x1), SR(x2))
     12([{x0: 0}], [1])
    1913
    2014The printing problem is due to the fact that Polynomials have an