Changeset 750e70 in git for kernel/syz.cc
- Timestamp:
- May 5, 2011, 7:20:56 PM (13 years ago)
- Branches:
- (u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '38077648e7239f98078663eb941c3c979511150a')
- Children:
- eb72ba1a1a50ca741a3113bf9b8bc34d414a678a
- Parents:
- 1f9a84fc8a205c643ce861d9e20c25dc687aa193
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/syz.cc
r1f9a84 r750e70 463 463 #ifdef HAVE_PLURAL 464 464 if (rIsPluralRing(currRing) && !rIsSCA(currRing) ) 465 { 465 { 466 466 // quick solution; need theory to apply homog GB stuff for G-Algebras 467 467 hom = isNotHomog; … … 516 516 rSetSyzComp(rkI); 517 517 } 518 if(! TEST_OPT_NO_SYZ_MINIM ) 518 519 if (minim || (syzIndex!=0)) 519 520 { … … 537 538 syzIndex++; 538 539 if (TEST_OPT_PROT) Print("[%d]\n",syzIndex); 539 if ((minim)||(syzIndex>1)) 540 syMinStep(res[syzIndex-1],res[syzIndex],!completeMinim,NULL,hom); 541 if (!completeMinim) 542 /*minim is TRUE, we are in the module: maxlength, maxlength <>0*/ 543 { 544 idDelete(&res[syzIndex]); 540 541 if(! TEST_OPT_NO_SYZ_MINIM ) 542 { 543 if ((minim)||(syzIndex>1)) 544 syMinStep(res[syzIndex-1],res[syzIndex],!completeMinim,NULL,hom); 545 if (!completeMinim) 546 /*minim is TRUE, we are in the module: maxlength, maxlength <>0*/ 547 { 548 idDelete(&res[syzIndex]); 549 } 545 550 } 546 551 /*---creating the iterated weights for module components ---------*/ … … 634 639 const unsigned int m_iFirstAltVar = scaFirstAltVar(currRing); 635 640 const unsigned int m_iLastAltVar = scaLastAltVar(currRing); 636 641 637 642 arg = id_KillSquares(arg, m_iFirstAltVar, m_iLastAltVar, currRing, false); // kill suares in input! 638 643 } 639 644 #endif 640 645 641 646 int typ0; 642 647 syStrategy result=(syStrategy)omAlloc0(sizeof(ssyStrategy)); … … 681 686 if( ncExtensions(TESTSYZSCAMASK) ) 682 687 { 683 currQuotient = idSaveCurrQuotient; 688 currQuotient = idSaveCurrQuotient; 684 689 currRing->qideal = idSaveCurrRingQuotient; 685 690 }
Note: See TracChangeset
for help on using the changeset viewer.