Changeset 06abb07 in git for kernel/GBEngine/kstd2.cc


Ignore:
Timestamp:
Sep 19, 2016, 2:23:44 PM (8 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'd08f5f0bb3329b8ca19f23b74cb1473686415c3a')
Children:
59dca7d44c6d942796166db1c0ac9621d2a5ee39
Parents:
c4ead28a352d5f3846b80a454f239a0ef2b5af5a
Message:
chg: n_...(...,ring) -> n_....(...,coeff) for better debugging
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/GBEngine/kstd2.cc

    rc4ead28 r06abb07  
    108108        if (p_LmShortDivisibleBy(T[j].p, sevT[j],p, not_sev, r))
    109109        {
    110           if(n_DivBy(p_GetCoeff(p,r), p_GetCoeff(T[j].p,r), r))
     110          if(n_DivBy(pGetCoeff(p), pGetCoeff(T[j].p), r->cf))
    111111            return j;
    112112        }
     
    115115          p_LmDivisibleBy(T[j].p, p, r))
    116116        {
    117           if(n_DivBy(p_GetCoeff(p,r), p_GetCoeff(T[j].p,r), r))
     117          if(n_DivBy(pGetCoeff(p), pGetCoeff(T[j].p), r->cf))
    118118            return j;
    119119        }
     
    156156                               p, not_sev, r))
    157157        {
    158           if(n_DivBy(pGetCoeff(p), pGetCoeff(T[j].t_p), r))
     158          if(n_DivBy(pGetCoeff(p), pGetCoeff(T[j].t_p), r->cf))
    159159            return j;
    160160        }
     
    163163          p_LmDivisibleBy(T[j].t_p, p, r))
    164164        {
    165           if(n_DivBy(pGetCoeff(p), pGetCoeff(T[j].t_p), r))
     165          if(n_DivBy(pGetCoeff(p), pGetCoeff(T[j].t_p), r->cf))
    166166            return j;
    167167        }
     
    220220                             p, not_sev, currRing))
    221221      {
    222         if(n_DivBy(pGetCoeff(p), pGetCoeff(strat->S[j]), currRing))
     222        if(n_DivBy(pGetCoeff(p), pGetCoeff(strat->S[j]), currRing->cf))
    223223          return j;
    224224      }
     
    227227         p_LmDivisibleBy(strat->S[j], p, currRing))
    228228      {
    229         if(n_DivBy(pGetCoeff(p), pGetCoeff(strat->S[j]), currRing))
     229        if(n_DivBy(pGetCoeff(p), pGetCoeff(strat->S[j]), currRing->cf))
    230230          return j;
    231231      }
     
    278278                             p, not_sev, currRing))
    279279      {
    280         if(n_DivBy(pGetCoeff(p), pGetCoeff(strat->S[j]), currRing))
     280        if(n_DivBy(pGetCoeff(p), pGetCoeff(strat->S[j]), currRing->cf))
    281281          return j;
    282282      }
     
    285285         p_LmDivisibleBy(strat->S[j], p, currRing))
    286286      {
    287         if(n_DivBy(pGetCoeff(p), pGetCoeff(strat->S[j]), currRing))
     287        if(n_DivBy(pGetCoeff(p), pGetCoeff(strat->S[j]), currRing->cf))
    288288          return j;
    289289      }
Note: See TracChangeset for help on using the changeset viewer.