#8173: segfault in singular resultant
-----------------------------------+----------------------------------------
Reporter: burcin | Owner: malb
Type: defect | Status: needs_work
Priority: major | Milestone: sage-4.3.4
Component: commutative algebra | Keywords: singular
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-----------------------------------+----------------------------------------
Changes (by was):
* status: positive_review => needs_work
Comment:
One doctest fails on sage.math after applying the patch:
{{{
sage -t devel/sage/sage/rings/polynomial/term_order.py
[3.0 s]
sage -t devel/sage/sage/rings/polynomial/multi_polynomial_libsingular.pyx
**********************************************************************
File "/virtual/scratch/wstein/build/sage-4.3.4.alpha1/devel/sage-
main/sage/rings/polynomial/multi_polynomial_libsingular.pyx", line 4293:
sage: r
Expected:
y^6*a^4 - 4*y^5*a^4*b - 4*y^5*a^3*u + y^5*a^2 - y^5 + 6*y^4*a^4*b^2 +
12*y^4*a^3*b*u - 4*y^4*a^2*b + 6*y^4*a^2*u^2 - 2*y^4*a*u + 4*y^4*b \
- 4*y^3*a^4*b^3 - 12*y^3*a^3*b^2*u + 6*y^3*a^2*b^2 - 12*y^3*a^2*b*u^2
+ 6*y^3*a*b*u - 4*y^3*a*u^3 - 6*y^3*b^2 + y^3*u^2 + y^2*a^4*b^4 \
+ 4*y^2*a^3*b^3*u - 4*y^2*a^2*b^3 + 6*y^2*a^2*b^2*u^2 - 6*y^2*a*b^2*u
+ 4*y^2*a*b*u^3 + 4*y^2*b^3 - 2*y^2*b*u^2 + y^2*u^4 + y*a^2*b^4 \
+ 2*y*a*b^3*u - y*b^4 + y*b^2*u^2
Got:
y^6*a^4 - 4*y^5*a^4*b - 4*y^5*a^3*u + y^5*a^2 - y^5 + 6*y^4*a^4*b^2 +
12*y^4*a^3*b*u - 4*y^4*a^2*b + 6*y^4*a^2*u^2 - 2*y^4*a*u + 4*y^4*b -
4*y^3*a^4*b^3 - 12*y^3*a^3*b^2*u + 6*y^3*a^2*b^2 - 12*y^3*a^2*b*u^2 +
6*y^3*a*b*u - 4*y^3*a*u^3 - 6*y^3*b^2 + y^3*u^2 + y^2*a^4*b^4 +
4*y^2*a^3*b^3*u - 4*y^2*a^2*b^3 + 6*y^2*a^2*b^2*u^2 - 6*y^2*a*b^2*u +
4*y^2*a*b*u^3 + 4*y^2*b^3 - 2*y^2*b*u^2 + y^2*u^4 + y*a^2*b^4 +
2*y*a*b^3*u - y*b^4 + y*b^2*u^2
**********************************************************************
1 items had failures:
1 of 19 in __main__.example_84
***Test Failed*** 1 failures.
For whitespace errors, see the file
/scratch/wstein/sage//tmp/.doctest_multi_polynomial_libsingular.py
[9.5 s]
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8173#comment:7>
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.