#17254: Upgrade to Singular-4-0-2
-------------------------------------+-------------------------------------
       Reporter:  jdemeyer           |        Owner:
           Type:  enhancement        |       Status:  new
       Priority:  major              |    Milestone:  sage-6.10
      Component:  packages:          |   Resolution:
  standard                           |    Merged in:
       Keywords:                     |    Reviewers:
        Authors:  Jakob Kroeker,     |  Work issues:
  Jean-Pierre Flori, Jeroen Demeyer  |       Commit:
Report Upstream:  N/A                |  7b5bb325da3e5f7816aa93dd38c8e8bc90962e49
         Branch:                     |     Stopgaps:
  u/jpflori/ticket/17254             |
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by jakobkroeker):

 Replying to [comment:142 git]:
 > Branch pushed to git repo; I updated commit sha1. New commits:
 >
 
||[http://git.sagemath.org/sage.git/commit/?id=7b5bb325da3e5f7816aa93dd38c8e8bc90962e49
 7b5bb32]||{{{Use correct function for degree.}}}||

 I get the following errors for the last change:
 {{{

 Error compiling Cython file:
 ------------------------------------------------------------
 ...
     deg = 0
     if p == NULL:
         return -1
     if(r != currRing): rChangeCurrRing(r)
     if x == NULL:
        return r.p_Deg(p,&deg,r)
               ^
 ------------------------------------------------------------

 sage/libs/singular/polynomial.pyx:534:15: Object of type 'ring' has no
 attribute 'p_Deg'

 Error compiling Cython file:
 ------------------------------------------------------------
 ...
     deg = 0
     if p == NULL:
         return -1
     if(r != currRing): rChangeCurrRing(r)
     if x == NULL:
        return r.p_Deg(p,&deg,r)
                       ^
 ------------------------------------------------------------

 sage/libs/singular/polynomial.pyx:534:23: Cannot convert 'poly *' to
 Python object

 Error compiling Cython file:
 ------------------------------------------------------------
 ...
     deg = 0
     if p == NULL:
         return -1
     if(r != currRing): rChangeCurrRing(r)
     if x == NULL:
        return r.p_Deg(p,&deg,r)
                        ^
 ------------------------------------------------------------

 sage/libs/singular/polynomial.pyx:534:24: Cannot convert 'int *' to Python
 object

 Error compiling Cython file:
 ------------------------------------------------------------
 ...
     deg = 0
     if p == NULL:
         return -1
     if(r != currRing): rChangeCurrRing(r)
     if x == NULL:
        return r.p_Deg(p,&deg,r)
                              ^
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/17254#comment:143>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to