Changeset cd3e96 in git


Ignore:
Timestamp:
Nov 22, 2016, 12:46:17 PM (7 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '5b153614cbc72bfa198d75b1e9e33dab2645d9fe')
Children:
9ebf412bbf7b1ebbdec82267ea62406068376709
Parents:
42832d423fbb1c400232aae2aeede85d37e0df42
Message:
minor opt. of p_LtCmp
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/monomials/p_polys.h

    r42832d rcd3e96  
    15141514    if(n_Greater(pc,qc,r->cf))
    15151515      res = 1;
    1516     if(n_Greater(qc,pc,r->cf))
     1516    else if(n_Greater(qc,pc,r->cf))
    15171517      res = -1;
    1518     if(n_Equal(pc,qc,r->cf))
     1518    else if(n_Equal(pc,qc,r->cf))
    15191519      res = 0;
    15201520    n_Delete(&pc,r->cf);
     
    15511551  if(r->OrdSgn == 1)
    15521552  {
    1553     return(p_LtCmp(p,q,r) != -1);
     1553    return(p_LtCmp(p,q,r) == 1);
    15541554  }
    15551555  else
Note: See TracChangeset for help on using the changeset viewer.