Changeset 0a8ee5 in git for kernel/kspoly.cc
- Timestamp:
- Mar 19, 2010, 3:38:41 PM (13 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- 2937222b4a61df047ac996df75f1a6bfe245af2c
- Parents:
- 18871b8b1489681d13f6dadcbc2940b541da2be2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/kspoly.cc
r18871b r0a8ee5 76 76 // no exp-bound checking needed 77 77 // (only needed if exp-bound(tailring)<exp-b(currRing)) 78 number c; 79 if (PR->bucket!=NULL) nc_kBucketPolyRed(PR->bucket, p2,&c); 78 if (PR->bucket!=NULL) nc_kBucketPolyRed(PR->bucket, p2,coef); 80 79 else 81 80 { 82 81 poly _p = (PR->t_p != NULL ? PR->t_p : PR->p); 83 82 assume(_p != NULL); 84 nc_PolyPolyRed(_p, p2, &c);83 nc_PolyPolyRed(_p, p2,coef); 85 84 if (PR->t_p!=NULL) PR->t_p=_p; else PR->p=_p; 86 PR->pLength=pLength(_p); 87 } 88 if (coef!=NULL) *coef=c; 89 else nDelete(&c); 85 PR->pLength=0; // usaully not used, GetpLength re-comoutes it if needed 86 } 90 87 return 0; 91 88 }
Note: See TracChangeset
for help on using the changeset viewer.