Changeset c796c8 in git for kernel/GBEngine/syz2.cc
- Timestamp:
- Aug 28, 2017, 2:30:24 PM (7 years ago)
- Branches:
- (u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
- Children:
- d3af5563dd6158320fbcab1e881015c48a28ceb7
- Parents:
- 5f259212712c8e1493fc47614d46271a11127586
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/GBEngine/syz2.cc
r5f2592 rc796c8 145 145 poly p1,p2; 146 146 int ip= currRing->N; 147 p1 = p Divide(p,(syzstr->resPairs[index])[i].p);148 p2 = p Divide(nP->m[j],(syzstr->resPairs[index])[j].p);147 p1 = pMDivide(p,(syzstr->resPairs[index])[i].p); 148 p2 = pMDivide(nP->m[j],(syzstr->resPairs[index])[j].p); 149 149 while ((ip>0) && (pGetExp(p1,ip)*pGetExp(p2,ip)==0)) ip--; 150 150 if (ip==0) … … 231 231 n_SubringGcd(pGetCoeff(tso.p1),pGetCoeff(tso.p2),currRing->cf); 232 232 tso.syz = pCopy((syzstr->resPairs[index])[i].syz); 233 poly tt = p Divide(tso.lcm,tso.p1);233 poly tt = pMDivide(tso.lcm,tso.p1); 234 234 pSetCoeff(tt,nDiv(pGetCoeff(tso.p1),coefgcd)); 235 235 tso.syz = pMult_mm(tso.syz,tt); … … 237 237 coefgcd = nInpNeg(coefgcd); 238 238 pp = pCopy((syzstr->resPairs[index])[r1].syz); 239 tt = p Divide(tso.lcm,tso.p2);239 tt = pMDivide(tso.lcm,tso.p2); 240 240 pSetCoeff(tt,nDiv(pGetCoeff(tso.p2),coefgcd)); 241 241 pp = pMult_mm(pp,tt); … … 394 394 inline void sySPRedSyz(syStrategy syzstr,sSObject redWith,poly q=NULL) 395 395 { 396 poly p=p Divide(q,redWith.p);396 poly p=pMDivide(q,redWith.p); 397 397 pSetCoeff(p,nDiv(pGetCoeff(q),pGetCoeff(redWith.p))); 398 398 int il=-1;
Note: See TracChangeset
for help on using the changeset viewer.