Changeset bbcf1d2 in git
- Timestamp:
- May 11, 2011, 12:22:16 PM (12 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '00e2e9c41af3fde1273eb3633f4c0c7c3db2579d')
- Children:
- 7d2573e1aca16d3661e41bb819c81b7bf820bd8b
- Parents:
- 9f73e809ff62b04e212d2894f2bd5a52d50cc4bc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/ring.cc
r9f73e80 rbbcf1d2 386 386 int64 *w=(int64 *)r->wvhdl[l]; 387 387 #if SIZEOF_LONG == 4 388 Print("%*lld " ,nlen,w[i+j],i+j);388 Print("%*lld " ,nlen,w[i+j]); 389 389 #else 390 Print(" %*ld" ,nlen,w[i+j] ,i+j);390 Print(" %*ld" ,nlen,w[i+j]); 391 391 #endif 392 392 } 393 393 else 394 Print(" %*d" ,nlen,r->wvhdl[l][i+j] ,i+j);394 Print(" %*d" ,nlen,r->wvhdl[l][i+j]); 395 395 } 396 396 if (r->order[l]!=ringorder_M) break; … … 1408 1408 matrix D = mpNew(l,l); 1409 1409 1410 int param_shift = 0;1411 1412 1410 for (i = 1; i <= rVar(R1); i++) 1413 1411 for (j= rVar(R1)+1; j <= l; j++) … … 2343 2341 place++; 2344 2342 rO_Align(place,bitplace); 2345 int i;2346 2343 } 2347 2344 … … 5316 5313 #include <ctype.h> 5317 5314 5318 static int rRealloc1(ring r, ring src,int size, int pos)5315 static int rRealloc1(ring r, int size, int pos) 5319 5316 { 5320 5317 r->order=(int*)omReallocSize(r->order, size*sizeof(int), (size+1)*sizeof(int)); … … 5472 5469 case ringorder_dp: /* dp -> a(1..1),ls */ 5473 5470 { 5474 l=rRealloc1(r, src,l,j);5471 l=rRealloc1(r,l,j); 5475 5472 r->order[j]=ringorder_a; 5476 5473 r->block0[j]=rOppVar(r, src->block1[i]); … … 5488 5485 case ringorder_Dp: /* Dp -> a(1..1),rp */ 5489 5486 { 5490 l=rRealloc1(r, src,l,j);5487 l=rRealloc1(r,l,j); 5491 5488 r->order[j]=ringorder_a; 5492 5489 r->block0[j]=rOppVar(r, src->block1[i]); … … 5504 5501 case ringorder_wp: /* wp -> a(...),ls */ 5505 5502 { 5506 l=rRealloc1(r, src,l,j);5503 l=rRealloc1(r,l,j); 5507 5504 r->order[j]=ringorder_a; 5508 5505 r->block0[j]=rOppVar(r, src->block1[i]); … … 5519 5516 case ringorder_Wp: /* Wp -> a(...),rp */ 5520 5517 { 5521 l=rRealloc1(r, src,l,j);5518 l=rRealloc1(r,l,j); 5522 5519 r->order[j]=ringorder_a; 5523 5520 r->block0[j]=rOppVar(r, src->block1[i]);
Note: See TracChangeset
for help on using the changeset viewer.