Changeset f7db36 in git


Ignore:
Timestamp:
Jul 6, 2015, 12:09:07 PM (8 years ago)
Author:
Adi Popescu <adi_popescum@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
3ffb5ca871047be87892fe8263ef80dbf59f2f04
Parents:
83b334dad0b1a90e01e1ae2ea14eb8a09c1c3709
Message:
fix: clearS for ZZ
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/GBEngine/kInline.h

    r83b334 rf7db36  
    11481148  assume(p_sev == pGetShortExpVector(p));
    11491149  if (strat->noClearS) return;
    1150   if (!pLmShortDivisibleBy(p,p_sev, strat->S[*at], ~ strat->sevS[*at])) return;
     1150  #if HAVE_RINGS
     1151    if(rField_is_Ring(currRing))
     1152    {
     1153        if (!pLmShortDivisibleBy(p,p_sev, strat->S[*at], ~ strat->sevS[*at]))
     1154            return;
     1155        if(!n_DivBy(pGetCoeff(strat->S[*at]), pGetCoeff(p), currRing))
     1156            return;
     1157    }
     1158    else
     1159    {
     1160        if (!pLmShortDivisibleBy(p,p_sev, strat->S[*at], ~ strat->sevS[*at])) return;
     1161    }
     1162  #else
     1163    if (!pLmShortDivisibleBy(p,p_sev, strat->S[*at], ~ strat->sevS[*at])) return;
     1164  #endif
    11511165  deleteInS((*at),strat);
    11521166  (*at)--;
Note: See TracChangeset for help on using the changeset viewer.