Changeset ac8e1a in git for factory/int_poly.cc


Ignore:
Timestamp:
Jun 8, 2011, 3:20:17 PM (12 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
3645fcced1ffa30007ffe55cd16d183a0a6256fe
Parents:
639652f186091509059ccc76f18852db93c1b988
Message:
compiler warnings


git-svn-id: file:///usr/local/Singular/svn/trunk@14267 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/int_poly.cc

    r639652f rac8e1a  
    353353        resultFirst = reduceTermList( resultFirst, (getInternalMipo( var ))->firstTerm, resultLast );
    354354        if ( resultFirst == 0 )
     355        {
    355356            if ( getRefCount() <= 1 )
    356357            {
     
    363364                return CFFactory::basic(0);
    364365            }
     366        }
    365367        else  if ( resultFirst->exp == 0 )
     368        {
    366369            if ( getRefCount() <= 1 )
    367370            {
     
    378381                return res;
    379382            }
     383        }
    380384    }
    381385    if ( getRefCount() <= 1 )
     
    730734            // test on inequaltiy in general is cheaper
    731735            if ( (cursor1->exp != cursor2->exp) || (cursor1->coeff != cursor2->coeff) )
     736            {
    732737                if ( cursor1->exp > cursor2->exp )
    733738                    return 1;
     
    738743                else
    739744                    return -1;
     745             }
    740746        // check trailing terms
    741747        if ( cursor1 == cursor2 )
     
    965971    }
    966972    if ( invert )
     973    {
    967974        if ( getRefCount() <= 1 )
    968975        {
     
    975982            return CFFactory::basic( 0 );
    976983        }
     984    }
    977985    if ( c.isOne() )
    978986        return this;
     
    10391047    }
    10401048    if ( invert )
     1049    {
    10411050        if ( getRefCount() <= 1 )
    10421051        {
     
    10491058            return CFFactory::basic( 0 );
    10501059        }
     1060    }
    10511061    if ( c.isOne() )
    10521062        return this;
Note: See TracChangeset for help on using the changeset viewer.