#17128: Problem with solution_dict=True and solving for multiple variables
--------------------------+----------------------------
   Reporter:  jhpalmieri  |            Owner:
       Type:  defect      |           Status:  new
   Priority:  major       |        Milestone:  sage-6.4
  Component:  symbolics   |         Keywords:
  Merged in:              |          Authors:
  Reviewers:              |  Report Upstream:  N/A
Work issues:              |           Branch:
     Commit:              |     Dependencies:
   Stopgaps:              |
--------------------------+----------------------------
 This bug was reported at http://ask.sagemath.org/question/24446/problem-
 with-solution_dicttrue/:
 {{{
 sage: var('x y')
 (x, y)
 sage: sol=solve(x + y, [x, y], solution_dict=True)
 ---------------------------------------------------------------------------
 AttributeError                            Traceback (most recent call
 last)
 <ipython-input-2-d24a5a0d9f55> in <module>()
 ----> 1 sol=solve(x + y, [x, y], solution_dict=True)

 /Users/palmieri/Desktop/Sage_stuff/git/sage/local/lib/python2.7/site-
 packages/sage/symbolic/relation.pyc in solve(f, *args, **kwds)
     732     from sage.symbolic.expression import is_Expression
     733     if is_Expression(f): # f is a single expression
 --> 734         ans = f.solve(*args,**kwds)
     735         return ans
     736

 /Users/palmieri/Desktop/Sage_stuff/git/sage/local/lib/python2.7/site-
 packages/sage/symbolic/expression.so in
 sage.symbolic.expression.Expression.solve
 (build/cythonized/sage/symbolic/expression.cpp:47600)()

 AttributeError: 'list' object has no attribute 'left'
 }}}
 I think this was introduced in #16531.

--
Ticket URL: <http://trac.sagemath.org/ticket/17128>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to