Changeset e070895 in git for kernel/ideals.cc
- Timestamp:
- Oct 6, 2009, 11:32:54 AM (14 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a657104b677b4c461d018cbf3204d72d34ad66a9')
- Children:
- 16a86e2831249582a4e9cc321c76313bad539fdd
- Parents:
- 3e96c5dc8f5e261b746d32bb4d985ec8def80154
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/ideals.cc
r3e96c5d re070895 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: ideals.cc,v 1. 79 2009-09-29 10:36:23Singular Exp $ */4 /* $Id: ideals.cc,v 1.80 2009-10-06 09:32:54 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT - all basic methods to manipulate ideals … … 70 70 } 71 71 72 //#ifndef __OPTIMIZE__73 // this is mainly for outputting an ideal within the debugger & DetailedPrint72 #ifndef __OPTIMIZE__ 73 // this is only for outputting an ideal within the debugger 74 74 void idShow(const ideal id, const ring lmRing, const ring tailRing, const int debugPrint) 75 75 { … … 91 91 } 92 92 } 93 //#endif93 #endif 94 94 95 95 /*2 … … 541 541 542 542 /*2 543 * concat h1 and h2 544 */ 545 void idInsertPoly (ideal h1,poly h2) 546 { 547 if (h2==NULL) return; 548 int j = IDELEMS(h1)-1; 549 while ((j >= 0) && (h1->m[j] == NULL)) j--; 550 j++; 551 if (j==IDELEMS(h1)) 552 { 553 pEnlargeSet(&(h1->m),IDELEMS(h1),16); 554 IDELEMS(h1)+=16; 555 } 556 h1->m[j]=h2; 557 } 558 559 /*2 543 560 * h1 + h2 544 561 */
Note: See TracChangeset
for help on using the changeset viewer.