Changeset 1a68d1d in git for kernel/ideals.cc
- Timestamp:
- Dec 4, 2009, 4:23:39 PM (13 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- a23a297b3ce46de66672d1b0f7796e93c2ccb4de
- Parents:
- 110e7218b8ba9a4ff67f658f9c7d7256229b44f2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/ideals.cc
r110e721 r1a68d1d 558 558 559 559 /*2 560 * concat h1 and h2 (if h2 is neither zero nor a generator of h1) 561 */ 562 void idInsertPolyNoDuplicates (ideal h1,poly h2) 563 { 564 bool h2FoundInH1 = false; 565 int i = 0; 566 while ((i < IDELEMS(h1)) && (!h2FoundInH1)) 567 { 568 h2FoundInH1 = pEqualPolys(h1->m[i], h2); 569 i++; 570 } 571 if (!h2FoundInH1) idInsertPoly(h1, h2); 572 } 573 574 /*2 560 575 * h1 + h2 561 576 */
Note: See TracChangeset
for help on using the changeset viewer.