Changeset ece1ce in git
- Timestamp:
- Mar 2, 2012, 12:13:46 PM (11 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- ecf01903b0f6a2aacb4b83bf49802240d6226a9f
- Parents:
- f93c5e9d617ac7c7445a38a6607c400467d15ef7
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/ipshell.cc
rf93c5e9 rece1ce 2319 2319 } 2320 2320 break; 2321 case ringorder_am: 2322 R->wvhdl[j] =( int *)omAlloc((iv->length()+1)*sizeof(int)); 2323 for (i=0; i<iv_len;i++) 2324 { 2325 R->wvhdl[j][i]=(*iv)[i]; 2326 } 2327 R->wvhdl[j][i]=iv->length() - iv_len; 2328 //printf("ivlen:%d,iv->len:%d,mod:%d\n",iv_len,iv->length(),R->wvhdl[j][i]); 2329 for (; i<iv->length(); i++) 2330 { 2331 R->wvhdl[j][i+1]=(*iv)[i]; 2332 } 2333 break; 2321 2334 case ringorder_M: 2322 2335 R->wvhdl[j] =( int *)omAlloc((iv->length())*sizeof(int)); -
libpolys/polys/monomials/ring.cc
rf93c5e9 rece1ce 3347 3347 for(i=0;i<r->OrdSize;i++) 3348 3348 { 3349 if(r->typ[i].ord_typ==ro_wp_neg) l++; 3349 if((r->typ[i].ord_typ==ro_wp_neg) 3350 ||(r->typ[i].ord_typ==ro_am)) 3351 l++; 3350 3352 } 3351 3353 if (l>0) … … 3359 3361 { 3360 3362 r->NegWeightL_Offset[l]=r->typ[i].data.wp.place; 3363 l++; 3364 } 3365 else if(r->typ[i].ord_typ==ro_am) 3366 { 3367 r->NegWeightL_Offset[l]=r->typ[i].data.am.place; 3361 3368 l++; 3362 3369 }
Note: See TracChangeset
for help on using the changeset viewer.