#7809: region_plot does not respect the passed variable order
------------------------+---------------------------------------------------
Reporter: jason | Owner: was
Type: defect | Status: new
Priority: major | Milestone: sage-4.3.1
Component: graphics | Keywords:
Work_issues: | Author:
Upstream: N/A | Reviewer:
Merged: |
------------------------+---------------------------------------------------
The call {{{region_plot(2/x + 1/y > 1/x * 1/y, (x,-10,10), (y,-10,10))}}}
passes the following function to setup_for_eval_on_grid: {{{(y, x) |-->
-2/x - 1/y + 1/(x*y)}}}, but passes the variables in the order (x,y). The
problem is the equify function. This patch simplifies the code in equify
to not try to put an ordering on the variables, but to just pass back an
expression (not a function).
In practice, since variables would be substituted by name, I don't think
this will make a difference. But it does make the code cleaner and more
correct.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7809>
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.