Changeset bbcf1d2 in git


Ignore:
Timestamp:
May 11, 2011, 12:22:16 PM (13 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b52fc4b2495505785981d640dcf7eb3e456778ef')
Children:
7d2573e1aca16d3661e41bb819c81b7bf820bd8b
Parents:
9f73e809ff62b04e212d2894f2bd5a52d50cc4bc
Message:
code cleanup from spielwiese

git-svn-id: file:///usr/local/Singular/svn/trunk@14209 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/ring.cc

    r9f73e80 rbbcf1d2  
    386386            int64 *w=(int64 *)r->wvhdl[l];
    387387            #if SIZEOF_LONG == 4
    388                   Print("%*lld " ,nlen,w[i+j],i+j);
     388            Print("%*lld " ,nlen,w[i+j]);
    389389            #else
    390             Print(" %*ld"  ,nlen,w[i+j],i+j);
     390            Print(" %*ld"  ,nlen,w[i+j]);
    391391            #endif
    392392          }
    393393          else
    394             Print(" %*d" ,nlen,r->wvhdl[l][i+j],i+j);
     394            Print(" %*d" ,nlen,r->wvhdl[l][i+j]);
    395395        }
    396396        if (r->order[l]!=ringorder_M) break;
     
    14081408      matrix D  = mpNew(l,l);
    14091409
    1410       int param_shift = 0;
    1411 
    14121410      for (i = 1; i <= rVar(R1); i++)
    14131411        for (j= rVar(R1)+1; j <= l; j++)
     
    23432341  place++;
    23442342  rO_Align(place,bitplace);
    2345   int i;
    23462343}
    23472344
     
    53165313#include <ctype.h>
    53175314
    5318 static int rRealloc1(ring r, ring src, int size, int pos)
     5315static int rRealloc1(ring r, int size, int pos)
    53195316{
    53205317  r->order=(int*)omReallocSize(r->order, size*sizeof(int), (size+1)*sizeof(int));
     
    54725469      case ringorder_dp: /* dp -> a(1..1),ls */
    54735470      {
    5474         l=rRealloc1(r,src,l,j);
     5471        l=rRealloc1(r,l,j);
    54755472        r->order[j]=ringorder_a;
    54765473        r->block0[j]=rOppVar(r, src->block1[i]);
     
    54885485      case ringorder_Dp: /* Dp -> a(1..1),rp */
    54895486      {
    5490         l=rRealloc1(r,src,l,j);
     5487        l=rRealloc1(r,l,j);
    54915488        r->order[j]=ringorder_a;
    54925489        r->block0[j]=rOppVar(r, src->block1[i]);
     
    55045501      case ringorder_wp: /* wp -> a(...),ls */
    55055502      {
    5506         l=rRealloc1(r,src,l,j);
     5503        l=rRealloc1(r,l,j);
    55075504        r->order[j]=ringorder_a;
    55085505        r->block0[j]=rOppVar(r, src->block1[i]);
     
    55195516      case ringorder_Wp: /* Wp -> a(...),rp */
    55205517      {
    5521         l=rRealloc1(r,src,l,j);
     5518        l=rRealloc1(r,l,j);
    55225519        r->order[j]=ringorder_a;
    55235520        r->block0[j]=rOppVar(r, src->block1[i]);
Note: See TracChangeset for help on using the changeset viewer.