Changeset 0c6135 in git for Singular/kstdfac.cc
- Timestamp:
- Nov 2, 1998, 10:05:43 AM (26 years ago)
- Branches:
- (u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '38dfc5131670d387a89455159ed1e071997eec94')
- Children:
- a693ce0179a5c04bc94f843a2c264a12ceac2a86
- Parents:
- 9dfc1bc6ba8cf5acb1a7ae30117ba921fadca819
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/kstdfac.cc
r9dfc1bc r0c6135 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: kstdfac.cc,v 1. 19 1998-06-12 17:41:30 obachmanExp $ */4 /* $Id: kstdfac.cc,v 1.20 1998-11-02 09:05:39 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT - Kernel: factorizing alg. of Buchberger … … 103 103 if(i>o->tl) 104 104 { 105 Print ("poly p1 not found in T:");wrp(p);PrintLn();105 PrintS("poly p1 not found in T:");wrp(p);PrintLn(); 106 106 l[j].p1=pCopy(p); 107 107 break; … … 122 122 if(i>o->tl) 123 123 { 124 Print ("poly p2 not found in T:");wrp(p);PrintLn();124 PrintS("poly p2 not found in T:");wrp(p);PrintLn(); 125 125 l[j].p2=pCopy(p); 126 126 break; … … 515 515 } 516 516 if (strat->redTailChange) 517 517 { 518 518 idDelete(&fac); 519 519 fac=singclap_factorize(strat->P.p,NULL,1); … … 527 527 idDelete(&fac_copy); 528 528 fac_copy=idInit(IDELEMS(fac),1); 529 530 531 532 533 534 529 } 530 if ((IDELEMS(fac)==1)&&(facdeg==pFDeg(fac->m[0]))) 531 { 532 pDelete(&(fac->m[0])); 533 fac->m[0]=strat->P.p; 534 } 535 535 } 536 536 if (strat->P.lcm!=NULL) pFree1(strat->P.lcm); … … 597 597 598 598 //if (n->redTailChange) 599 600 601 602 603 604 599 //{ 600 // int pos = n->posInL(n->L,n->Ll,n->P,n); 601 // enterL(&n->L,&n->Ll,&n->Lmax,n->P,pos); 602 //} 603 //else 604 { 605 605 if (TEST_OPT_DEBUG) 606 606 { … … 619 619 enterTBba(n->P,pos,n); 620 620 } 621 621 } 622 622 623 623 /* construct D */ … … 665 665 messageSets(n); 666 666 } 667 667 //if (n->Ll >=0) Print("Ll:%d|",n->Ll); 668 668 while (n->Ll >= 0) deleteInL(n->L,&n->Ll,n->Ll,n); 669 669 //if (n->tl >=0) Print("tl:%d|",n->tl); 670 670 while (n->tl >= 0) { pDelete(&n->T[n->tl].p); n->tl--; } 671 671 memset(n->Shdl->m,0,IDELEMS(n->Shdl)*sizeof(poly));
Note: See TracChangeset
for help on using the changeset viewer.