#11705: Port Sage to SUSE Linux Power 7 (ppc64).
-------------------------------+--------------------------------------------
       Reporter:  was          |         Owner:  drkirkby
           Type:  enhancement  |        Status:  new     
       Priority:  major        |     Milestone:  sage-5.0
      Component:  porting      |    Resolution:          
       Keywords:  sd32 sd35.5  |   Work issues:          
Report Upstream:  N/A          |     Reviewers:          
        Authors:               |     Merged in:          
   Dependencies:               |      Stopgaps:          
-------------------------------+--------------------------------------------

Comment (by zimmerma):

 Leif,

 yes I tried removing the coercion. It gives:
 {{{
 Error compiling Cython file:
 ------------------------------------------------------------
 ...
                 mpfi_interv_q(self.value, <object>rat.value,
 <object>rat1.value)
             elif PY_TYPE_CHECK(a, Integer) and PY_TYPE_CHECK(b, Integer):
                 integ = a
                 integ1 = b
                 mpfi_interv_z(self.value, integ.value, integ1.value)
                                               ^
 ------------------------------------------------------------

 sage/rings/real_mpfi.pyx:1045:47: Cannot convert 'mpz_t' to Python object
 }}}
 This is strange because {{{mpfi_interv_z}}} expects a {{{mpz_t}}} as 2nd
 and 3rd arguments, and
 {{{integ.value}}} is a {{{mpz_t}}}, thus I don't see any reason to convert
 to a Python object.

 Paul

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

Reply via email to