Changeset fd82c0 in git
- Timestamp:
- Feb 11, 2022, 10:30:02 PM (2 years ago)
- Branches:
- (u'spielwiese', '5b153614cbc72bfa198d75b1e9e33dab2645d9fe')
- Children:
- 157b516844d7b1bbccec2128f217700d402cf485
- Parents:
- ad2a016e1a03aa804b8fba55e43c9dc40b543b68
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/monomials/ring.cc
rad2a016 rfd82c0 3134 3134 } 3135 3135 3136 static void rSetFirstWv(ring r, int i, rRingOrder_t* order, int* block 1, int** wvhdl)3136 static void rSetFirstWv(ring r, int i, rRingOrder_t* order, int* block0, int* block1, int** wvhdl) 3137 3137 { 3138 3138 // cheat for ringorder_aa … … 3150 3150 { 3151 3151 int j; 3152 for(j=block1[i]- r->block0[i];j>=0;j--)3152 for(j=block1[i]-block0[i];j>=0;j--) 3153 3153 { 3154 3154 if (r->firstwv[j]==0) r->LexOrder=TRUE; … … 3159 3159 int j; 3160 3160 int64 *w=rGetWeightVec(r); 3161 for(j=block1[i]- r->block0[i];j>=0;j--)3161 for(j=block1[i]-block0[i];j>=0;j--) 3162 3162 { 3163 3163 if (w[j]==0) r->LexOrder=TRUE; … … 3317 3317 if ((r->VectorOut)||(order[0]==ringorder_C)||(order[0]==ringorder_S)||(order[0]==ringorder_s)) 3318 3318 { 3319 rSetFirstWv(r, 1, order, block 1, wvhdl);3319 rSetFirstWv(r, 1, order, block0, block1, wvhdl); 3320 3320 } 3321 3321 else 3322 rSetFirstWv(r, 0, order, block 1, wvhdl);3322 rSetFirstWv(r, 0, order, block0, block1, wvhdl); 3323 3323 3324 3324 if ((order[0]!=ringorder_c) … … 4522 4522 if (r->order[j-1]==ringorder_a64) l*=2; 4523 4523 else if (r->order[j-1]==ringorder_M) l=l*l; 4524 wvhdl[j]=(int*)omalloc(l*sizeof(int)); 4524 wvhdl[j]=(int*)omalloc(l*sizeof(int)); /*l+1???*/ 4525 4525 memcpy(wvhdl[j],r->wvhdl[j-1],l*sizeof(int)); 4526 4526 }
Note: See TracChangeset
for help on using the changeset viewer.