#11618: solve with solution_dict=True doesn't always return a list
-------------------------+--------------------------------------------------
Reporter: mhampton | Owner: burcin
Type: defect | Status: new
Priority: major | Milestone: sage-4.7.2
Component: symbolics | Keywords: solve, solution_dict
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
-------------------------+--------------------------------------------------
As pointed out in a post on sage-support:
{{{
var('x')
g(x)=0
print solve(g(x)==0,x)
print solve(g(x)==0,x,solution_dict=True)
}}}
gives
{{{
[x == r1]
{x: r1}
}}}
It should be [{x: r1}] to be consistent.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11618>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.