Changeset 308757 in git for kernel/ideals.cc
- Timestamp:
- Apr 2, 2008, 10:09:32 AM (15 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a657104b677b4c461d018cbf3204d72d34ad66a9')
- Children:
- e2a25ef5bf4799a4cf39ed869c34d7dc56eb7ef7
- Parents:
- 9676ea20c5b413901217dc054c67c5e9b03a512a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/ideals.cc
r9676ea r308757 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: ideals.cc,v 1.5 1 2008-03-20 10:58:24Singular Exp $ */4 /* $Id: ideals.cc,v 1.52 2008-04-02 08:09:32 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT - all basic methods to manipulate ideals … … 1144 1144 1145 1145 idSkipZeroes(result); 1146 return result; 1146 if (TEST_OPT_RETURN_SB) 1147 { 1148 temp1=kStd(result,currQuotient,testHomog,&w); 1149 if (w!=NULL) delete w; 1150 idDelete(&result); 1151 return temp1; 1152 } 1153 else //temp1=kInterRed(result,currQuotient); 1154 return result; 1147 1155 } 1148 1156 … … 1233 1241 1234 1242 /* interprete result ----------------------------------------*/ 1235 result = idInit( 8,maxrk);1243 result = idInit(IDELEMS(tempstd),maxrk); 1236 1244 k = 0; 1237 1245 for (j=0;j<IDELEMS(tempstd);j++) … … 1239 1247 if ((tempstd->m[j]!=NULL) && (p_GetComp(tempstd->m[j],syz_ring)>syzComp)) 1240 1248 { 1241 if (k>=IDELEMS(result))1242 {1243 pEnlargeSet(&(result->m),IDELEMS(result),8);1244 IDELEMS(result) += 8;1245 }1246 1249 if (syz_ring==orig_ring) 1247 1250 p = pCopy(tempstd->m[j]);
Note: See TracChangeset
for help on using the changeset viewer.