#15312: fix integer overflow (?) in conversion of powersums to Schur functions
-------------------------------------------------+-------------------------
       Reporter:  zabrocki                       |        Owner:
           Type:  defect                         |       Status:  new
       Priority:  critical                       |    Milestone:  sage-5.13
      Component:  combinatorics                  |   Resolution:
       Keywords:  symmetric functions,           |    Merged in:
  symmetrica, memleak                            |    Reviewers:
        Authors:                                 |  Work issues:
Report Upstream:  N/A                            |       Commit:
         Branch:                                 |     Stopgaps:
   Dependencies:                                 |
-------------------------------------------------+-------------------------

Comment (by zabrocki):

 Ok.  I think that I can recreate the error in Symmetrica now.

 Here is my test.c program:
 {{{

 #include "def.h"
 #include "macro.h"

 ANFANG
 scan(POW_SYM,a);
 t_POWSYM_SCHUR(a, b);
 freeall(a);
 freeall(b);
 a=callocobject();
 b=callocobject();
 scan(POW_SYM,a);
 t_POWSYM_SCHUR(a, b);
 println(b);
 ENDE
 }}}
 In the first `scan` I enter a power sum `p_{1^50}` with coefficient
 integer 1.  In the second `scan` I enter `p_{1^5}` with a bruch
 coefficient of `1/1` and my output is:
 {{{
 -6917520240879580904 11111   -20.752587.120249.330592  1112
 -27.670133.758739.499376
  113   -20.752613.517859.918472  122   -20.752587.120249.330592  14
 -20.752613.517859.918472
  23  -6917520240879580904 5
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/15312#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 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.

Reply via email to