#12173: Update FLINT to 2.3
---------------------------------------------------------------------+------
       Reporter:  mhansen                                            |         
Owner:  tbd         
           Type:  enhancement                                        |        
Status:  needs_work  
       Priority:  major                                              |     
Milestone:  sage-5.8    
      Component:  packages                                           |    
Resolution:              
       Keywords:  flint spkg                                         |   Work 
issues:  OS X        
Report Upstream:  N/A                                                |     
Reviewers:  John Cremona
        Authors:  Mike Hansen, Fredrik Johansson, Jean-Pierre Flori  |     
Merged in:              
   Dependencies:  #12433                                             |      
Stopgaps:              
---------------------------------------------------------------------+------

Comment (by jpflori):

 Replying to [comment:192 fredrik.johansson]:
 > If I'm reading this right, it prints the fmpz_poly four times before
 even entering fmpq_poly, and it's wrong the third time, that is, when
 calling (<Polynomial_integer_dense_flint>x).jprint()?
 >
 Nope, the first wrong printing is the the first one inside
 fmpq_set_fmpz_poly.
 The first "print x" command at the Sage level corresponds to "x^8 + 2*x^7
 + 3*x^6 + 92233...".

 > But the fmpz coefficients are the same, so it is (seemingly) the entries
 in flint's global mpz array that are being zeroed when they shouldn't.
 I'm not sure they really get zeroed.
 Ok it sounds fishy, but I'm able to print again f correctly after having
 done f.change_ring(QQ)...

 I'll give the same piece of code a shot on Linux to see if anything looks
 different but I doubt it, then I'll try to watch the addresses with gdb.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12173#comment:193>
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to