#13413: fix integer overflow (?) in conversion of powersums to Schur functions
-------------------------------------------------+-------------------------
Reporter: saliola | Owner: sage-
Type: defect | combinat
Priority: critical | Status:
Component: combinatorics | needs_review
Keywords: symmetric functions, | Milestone: sage-5.13
symmetrica, memleak | Resolution:
Authors: Jeroen Demeyer | Merged in:
Report Upstream: Reported upstream. No | Reviewers:
feedback yet. | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
-------------------------------------------------+-------------------------
Comment (by darij):
Ubuntu in a virtualbox, 64bit, sage 5.13.beta0 with patches installed
(hopefully correctly: I -i'd symmetrica 2.0p8, but I never explicitly
uninstalled 2.0p7).
Exhibit A:
{{{
sage: s = SymmetricFunctions(QQ).s()
sage:
sage: p = SymmetricFunctions(QQ).p()
sage: g = s(p([1]*47))
sage: g.coefficient([9,8,7,6,5,4,3,2,2,1])
14333651730948448927581696000
sage: g = s(p([1]*47))
sage: g.coefficient([9,8,7,6,5,4,3,2,2,1])
14333651730948448927581696000
}}}
Exhibit B:
{{{
sage: p = SymmetricFunctions(QQ).powersum()
sage: s = SymmetricFunctions(QQ).schur()
sage:
sage: s(p[2,2])
s[1, 1, 1, 1] - s[2, 1, 1] + 2*s[2, 2] - s[3, 1] + s[4]
sage: time g = s(p([1]*47))
/home/darij/sage-5.13.beta0/local/lib/python2.7/site-
packages/sage/misc/sage_extension.py:371: DeprecationWarning: Use %time
instead of time.
See http://trac.sagemath.org/12719 for details.
line = f(line, line_number)
CPU times: user 19.23 s, sys: 0.06 s, total: 19.29 s
Wall time: 19.81 s
sage: s(p[2,2])
s[1, 1, 1, 1] - s[2, 1, 1] + 2*s[2, 2] - s[3, 1] + s[4]
}}}
This speaks for it being a Mac problem. (No, I don't have one to test.)
Seeing that there really seem to be two separate issues here, can we get
the current patch into beta1 without waiting for the Mac issue to be
resolved? I am scared of working with Sym now...
--
Ticket URL: <http://trac.sagemath.org/ticket/13413#comment:49>
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/groups/opt_out.