- Timestamp:
- Apr 21, 2017, 3:56:29 PM (7 years ago)
- Branches:
- (u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
- Children:
- 4e1f7a85f1ef34459fd2d1724b93f00c5ec676e5
- Parents:
- f43d9e26f300baae8ecc6180a5ad325a7d9cea21
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/GBEngine/syz.cc
rf43d9e r1be9c5b 88 88 tHomog h=isNotHomog) 89 89 { 90 ideal deg0=NULL;91 90 poly Unit1,Unit2,actWith; 92 91 int len,i,j,ModComp,m,k,l; … … 97 96 /*minim is TRUE, we are in the module: maxlength, maxlength <>0*/ 98 97 { 99 deg0=id_Jet(syz,0,currRing);98 ideal deg0=id_Jet(syz,0,currRing); 100 99 idSkipZeroes(deg0); 100 id_Delete(&syz,currRing); 101 101 syz=deg0; 102 102 } … … 213 213 idSkipZeroes(mod); 214 214 idSkipZeroes(syz); 215 if (deg0!=NULL)216 idDelete(°0);217 215 } 218 216 … … 397 395 BITSET save1; 398 396 SI_SAVE_OPT1(save1); 399 resolvente res;400 397 resolvente newres; 401 398 tHomog hom=isNotHomog; 402 ideal temp=NULL;403 399 intvec *w = NULL,**tempW; 404 400 int i,k,syzIndex = 0,j,rk_arg=si_max(1,(int)id_RankFreeModule(arg,currRing)); … … 418 414 *weights=wtmp; 419 415 } 420 res = (resolvente)omAlloc0((*length)*sizeof(ideal));416 resolvente res = (resolvente)omAlloc0((*length)*sizeof(ideal)); 421 417 422 418 /*--- initialize the syzygy-ring -----------------------------*/ … … 523 519 if (minim || (syzIndex!=0)) 524 520 { 525 temp = kInterRedOld(res[syzIndex],currRing->qideal);521 ideal temp = kInterRedOld(res[syzIndex],currRing->qideal); 526 522 idDelete(&res[syzIndex]); 527 523 idSkipZeroes(temp); 528 524 res[syzIndex] = temp; 529 525 } 530 temp = NULL;531 526 /*--- computing the syzygy modules --------------------------------*/ 532 527 if ((currRing->qideal==NULL)&&(syzIndex==0)&& (!TEST_OPT_DEGBOUND))
Note: See TracChangeset
for help on using the changeset viewer.