Changeset e6f1e6 in git for kernel/GBEngine/kInline.h


Ignore:
Timestamp:
May 17, 2016, 5:26:29 PM (8 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '4a9821a93ffdc22a6696668bd4f6b8c9de3e6c5f')
Children:
6f203b6a99801e807e56ef784f79d4951204b9e5
Parents:
f8fb93d1bc922d1e97207d1d5b347fe1db1eedcf
Message:
code cleanup: HAVE_RINGS is mostly not needed
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/GBEngine/kInline.h

    rf8fb93d re6f1e6  
    11441144  assume(p_sev == pGetShortExpVector(p));
    11451145  if (strat->noClearS) return;
    1146   #if HAVE_RINGS
    1147     if(rField_is_Ring(currRing))
    1148     {
    1149         if (!pLmShortDivisibleBy(p,p_sev, strat->S[*at], ~ strat->sevS[*at]))
    1150             return;
    1151         if(!n_DivBy(pGetCoeff(strat->S[*at]), pGetCoeff(p), currRing))
    1152             return;
    1153     }
    1154     else
    1155     {
    1156         if (!pLmShortDivisibleBy(p,p_sev, strat->S[*at], ~ strat->sevS[*at])) return;
    1157     }
    1158   #else
     1146  if(rField_is_Ring(currRing))
     1147  {
     1148    if (!pLmShortDivisibleBy(p,p_sev, strat->S[*at], ~ strat->sevS[*at]))
     1149      return;
     1150    if(!n_DivBy(pGetCoeff(strat->S[*at]), pGetCoeff(p), currRing))
     1151      return;
     1152  }
     1153  else
     1154  {
    11591155    if (!pLmShortDivisibleBy(p,p_sev, strat->S[*at], ~ strat->sevS[*at])) return;
    1160   #endif
     1156  }
    11611157  deleteInS((*at),strat);
    11621158  (*at)--;
Note: See TracChangeset for help on using the changeset viewer.