Changeset cd4f24 in git for kernel/ideals.cc


Ignore:
Timestamp:
Feb 21, 2013, 5:32:27 PM (10 years ago)
Author:
Yue Ren <ren@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'f875bbaccd0831e36aaed09ff6adeb3eb45aeb94')
Children:
69658e5e110d586876c43dd51520b4365cec0c52
Parents:
2e4ec146a83f4d025c2cb4229c4b171a375173c1
git-author:
Yue Ren <ren@mathematik.uni-kl.de>2013-02-21 17:32:27+01:00
git-committer:
Yue Ren <ren@mathematik.uni-kl.de>2013-02-21 20:00:59+01:00
Message:
fix: -Wunused-but-set-variable warnings
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/ideals.cc

    r2e4ec14 rcd4f24  
    16461646poly idMinor(matrix a, int ar, unsigned long which, ideal R)
    16471647{
    1648   int     i,j,k,size;
     1648  int     i,j/*,k,size*/;
    16491649  unsigned long curr;
    16501650  int *rowchoise,*colchoise;
    16511651  BOOLEAN rowch,colch;
    1652   ideal result;
     1652  // ideal result;
    16531653  matrix tmp;
    16541654  poly p,q;
     
    16591659  rowchoise=(int *)omAlloc(ar*sizeof(int));
    16601660  colchoise=(int *)omAlloc(ar*sizeof(int));
    1661   if ((i>512) || (j>512) || (i*j >512)) size=512;
    1662   else size=i*j;
    1663   result=idInit(size,1);
     1661  // if ((i>512) || (j>512) || (i*j >512)) size=512;
     1662  // else size=i*j;
     1663  // result=idInit(size,1);
    16641664  tmp=mpNew(ar,ar);
    1665   k = 0; /* the index in result*/
     1665  // k = 0; /* the index in result*/
    16661666  curr = 0; /* index of current minor */
    16671667  idInitChoise(ar,1,a->rows(),&rowch,rowchoise);
     
    17141714ideal idMinors(matrix a, int ar, ideal R)
    17151715{
    1716   int     i,j,k,size;
     1716  int     i,j,/*k,*/size;
    17171717  int *rowchoise,*colchoise;
    17181718  BOOLEAN rowch,colch;
     
    17301730  result=idInit(size,1);
    17311731  tmp=mpNew(ar,ar);
    1732   k = 0; /* the index in result*/
     1732  // k = 0; /* the index in result*/
    17331733  idInitChoise(ar,1,a->rows(),&rowch,rowchoise);
    17341734  while (!rowch)
Note: See TracChangeset for help on using the changeset viewer.