Changeset 1ec441 in git for kernel


Ignore:
Timestamp:
Sep 14, 2017, 3:32:06 PM (7 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
Children:
488bb5b11683d6bec33ec3e879cf0c7921caec23
Parents:
8c98694fecafe0292110321e95c91fff77e0ae24
Message:
opt: sySPRedSyz (syz2.cc)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/GBEngine/syz2.cc

    r8c98694 r1ec441  
    180180                    }
    181181                  }
    182                   pLmDelete(&p1);
    183                   pLmDelete(&p2);
     182                  pLmFree(&p1);
     183                  pLmFree(&p2);
    184184                }
    185185#endif
     
    232232          tso.syz = pCopy((syzstr->resPairs[index])[i].syz);
    233233          poly tt = pMDivide(tso.lcm,tso.p1);
    234           pSetCoeff(tt,nDiv(pGetCoeff(tso.p1),coefgcd));
     234          pSetCoeff0(tt,nDiv(pGetCoeff(tso.p1),coefgcd));
    235235          tso.syz = pMult_mm(tso.syz,tt);
    236236          pLmDelete(&tt);
     
    238238          pp = pCopy((syzstr->resPairs[index])[r1].syz);
    239239          tt = pMDivide(tso.lcm,tso.p2);
    240           pSetCoeff(tt,nDiv(pGetCoeff(tso.p2),coefgcd));
     240          pSetCoeff0(tt,nDiv(pGetCoeff(tso.p2),coefgcd));
    241241          pp = pMult_mm(pp,tt);
    242242          pLmDelete(&tt);
     
    395395{
    396396  poly p=pMDivide(q,redWith.p);
    397   pSetCoeff(p,nDiv(pGetCoeff(q),pGetCoeff(redWith.p)));
     397  pSetCoeff0(p,nDiv(pGetCoeff(q),pGetCoeff(redWith.p)));
    398398  int il=-1;
    399399  kBucket_Minus_m_Mult_p(syzstr->syz_bucket,p,redWith.syz,&il,NULL);
Note: See TracChangeset for help on using the changeset viewer.