#8553: Minor bugs in solve() if dictionary result requested
----------------------------------------------------------+-----------------
Reporter: leif | Owner: leif
Type: defect | Status:
needs_work
Priority: trivial | Milestone:
sage-4.3.4
Component: symbolics | Keywords:
solve, solution_dict
Author: | Upstream: N/A
Reviewer: Harald Schilly, Mike Hansen, Burcin Erocal | Merged:
Work_issues: |
----------------------------------------------------------+-----------------
Changes (by burcin):
* status: positive_review => needs_work
* reviewer: schilly => Harald Schilly, Mike Hansen, Burcin Erocal
Comment:
AFAICT, `solve` returns a list of possible solutions to the given
equality. When the `solution_dict` parameter is `True`, this list is
populated by dictionaries instead of symbolic relations.
With this reasoning the current behavior of returning an empty list if we
can't find any solutions even if the `solution_dict` parameter is `True`
seems correct to me.
IMHO, the only thing that needs to be fixed is the `IndexError` when there
is no solution. Comments?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8553#comment:18>
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.