#16590: interface sympy Diophantine function(s)
-------------------------------------+-------------------------------------
Reporter: rws | Owner: rws
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-6.7
Component: number theory | Resolution:
Keywords: pellian, | Merged in:
integers, solution | Reviewers: Kannappan Sampath
Authors: Ralf Stephan | Work issues:
Report Upstream: N/A | Commit:
Branch: u/rws/16590-1 | b8501cd41176f054ea085d24779f8a4666589b9d
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Changes (by vbraun):
* status: positive_review => needs_work
Comment:
doctests depends on x/y order which is apparently random:
{{{
sage -t --long src/sage/symbolic/expression.pyx
**********************************************************************
File "src/sage/symbolic/expression.pyx", line 10122, in
sage.symbolic.expression.Expression.solve_diophantine
Failed example:
res.sort(); res
Expected:
[{y: -1, x: -9},
{y: -2, x: -4},
{y: -5, x: -1},
{y: -10, x: 0},
{y: 10, x: 2},
{y: 5, x: 3},
{y: 2, x: 6},
{y: 1, x: 11}]
Got:
[{x: 0, y: -10},
{x: -1, y: -5},
{x: -4, y: -2},
{x: -9, y: -1},
{x: 11, y: 1},
{x: 6, y: 2},
{x: 3, y: 5},
{x: 2, y: 10}]
**********************************************************************
1 item had failures:
1 of 20 in sage.symbolic.expression.Expression.solve_diophantine
[2394 tests, 1 failure, 31.23 s]
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/16590#comment:31>
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.