Changeset 7987:3fbfb442cd51


Ignore:
Timestamp:
12/25/07 12:49:25 (5 years ago)
Author:
Martin Albrecht <malb@…>
Branch:
default
Message:

check for identity in MPolynomial_libsingular._cmp_c_impl first, this fixes a SIGSEGV on Solaris

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sage/rings/polynomial/multi_polynomial_libsingular.pyx

    r7809 r7987  
    15141514        cdef number *h 
    15151515        cdef int ret = 0 
     1516 
     1517        if left is right: 
     1518            return ret 
    15161519         
    15171520        r = (<MPolynomialRing_libsingular>left._parent)._ring 
Note: See TracChangeset for help on using the changeset viewer.