Changeset 4c80eb in git for kernel/tgb.cc
- Timestamp:
- Feb 20, 2006, 2:14:00 PM (18 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- abfc3bece5f42e6e4907d3d0719efc6021cb6a93
- Parents:
- 839ec19c4ad0dc6a59849ee222f43327491e54d6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/tgb.cc
r839ec1 r4c80eb 5 5 * Computer Algebra System SINGULAR * 6 6 ****************************************/ 7 /* $Id: tgb.cc,v 1.6 0 2006-02-20 12:40:13bricken Exp $ */7 /* $Id: tgb.cc,v 1.61 2006-02-20 13:13:59 bricken Exp $ */ 8 8 /* 9 9 * ABSTRACT: slimgb and F4 implementation … … 713 713 714 714 715 static int add_to_reductors(slimgb_alg* c, poly h, int len ){715 static int add_to_reductors(slimgb_alg* c, poly h, int len, BOOLEAN simplified){ 716 716 //inDebug(h); 717 717 assume(lenS_correct(c->strat)); … … 727 727 P.p=h; /*p_Copy(h,c->r);*/ 728 728 P.FDeg=pFDeg(P.p,c->r); 729 730 if (!rField_is_Zp(c->r)){ 731 pCleardenom(P.p); 732 pContent(P.p); //is a duplicate call, but belongs here 733 734 } 735 else 736 pNorm(P.p); 737 pNormalize(P.p); 729 if (!simplified){ 730 if (!rField_is_Zp(c->r)){ 731 pCleardenom(P.p); 732 pContent(P.p); //is a duplicate call, but belongs here 733 734 } 735 else 736 pNorm(P.p); 737 pNormalize(P.p); 738 } 738 739 wlen_type pq=pQuality(h,c,len); 739 740 i=simple_posInS(c->strat,h,len,pq); … … 1079 1080 else 1080 1081 pNorm(h); 1082 pNormalize(h); 1083 1081 1084 c->weighted_lengths[i]=pQuality(h, c, c->lengths[i]); 1082 1085 c->gcd_of_terms[i]=got; … … 1279 1282 nodes=NULL; 1280 1283 1281 add_to_reductors(c, h, c->lengths[c->n-1] );1284 add_to_reductors(c, h, c->lengths[c->n-1], TRUE); 1282 1285 //i=posInS(c->strat,c->strat->sl,h,0 ecart); 1283 1286 if (!(c->nc)){
Note: See TracChangeset
for help on using the changeset viewer.