#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):

 Here is something integeresting^(tm)^, if I put the `freeall(a)` and
 `freeall(b)` '''after''' the `scan(POW_SYM,c)` line then I get the correct
 answers.  As in...

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

 ANFANG
 scan(POW_SYM,a);
 t_POWSYM_SCHUR(a, b);
 scan(POW_SYM,c);
 freeall(a);
 freeall(b);
 t_POWSYM_SCHUR(c, d);
 println(d);
 println(d);
 a = callocobject();
 b = callocobject();
 ENDE
 }}}

 This means that the problem seems to be in the initialization of `c`
 (through the `scan`) and ''not'' in the calculation of `d`.

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