#14116: update polymake interface to 2.12-rc3
----------------------------------+-----------------------------------------
       Reporter:  tkluck          |         Owner:  mhampton 
           Type:  defect          |        Status:  new      
       Priority:  major           |     Milestone:  sage-5.10
      Component:  geometry        |    Resolution:           
       Keywords:                  |   Work issues:           
Report Upstream:  N/A             |     Reviewers:           
        Authors:  Timo Kluck      |     Merged in:           
   Dependencies:  #13768, #13767  |      Stopgaps:           
----------------------------------+-----------------------------------------

Comment (by kcrisman):

 Uploading rebased patch next.  But:
 {{{
 Compiling sage/geometry/polymake/polymake.pyx because it changed.
 Cythonizing sage/geometry/polymake/polymake.pyx

 Error compiling Cython file:
 ------------------------------------------------------------
 ...
     def save(self, filename):
         self.thisptr.save(<string><char*>filename)

     def __getattr__(self, propertyname):
         propertyname = propertyname.upper()
         return <str>get_property_wrapper(self.thisptr[0],
 <string><char*>propertyname).c_str()
 ^
 ------------------------------------------------------------

 sage/geometry/polymake/polymake.pyx:247:92: default encoding required for
 conversion from 'char const *' to 'str object'

 Error compiling Cython file:
 ------------------------------------------------------------
 ...
                     p = i.numerator() if callable(i.numerator) else
 i.numerator
                     q = i.denominator() if callable(i.denominator) else
 i.denominator
                     entries.push_back(Rational(p,q))
                 else:
                     entries.push_back(<Rational><int>i)
             matrix = new Matrix[Rational](rows, cols, entries.begin())
                                                                   ^
 ------------------------------------------------------------

 sage/geometry/polymake/polymake.pyx:268:67: Cannot assign type 'iterator'
 to 'vector[Rational]'
 }}}

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