Changeset 3b2f18 in git for kernel


Ignore:
Timestamp:
Nov 2, 2016, 11:52:22 AM (7 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '4a9821a93ffdc22a6696668bd4f6b8c9de3e6c5f')
Children:
d69ebc4b01c16f6ddd559dabed26354f9384cce5
Parents:
76a7291160a6ba0f7e662bf112de635f35663c1d
Message:
avoid checking coef in isInV for constant lcm
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/GBEngine/shiftgb.cc

    r76a7291 r3b2f18  
    242242{
    243243  /* investigate only the leading monomial of p in currRing */
    244   if ( pIsConstant(p) ) return(1);
     244  if ( pTotaldegree(p)==0 ) return(1);
    245245  if (lV <= 0) return(0);
    246246  /* returns 1 iff p is in V */
Note: See TracChangeset for help on using the changeset viewer.