Changeset cd4f24 in git for kernel/ideals.cc
- Timestamp:
- Feb 21, 2013, 5:32:27 PM (10 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/ideals.cc
r2e4ec14 rcd4f24 1646 1646 poly idMinor(matrix a, int ar, unsigned long which, ideal R) 1647 1647 { 1648 int i,j ,k,size;1648 int i,j/*,k,size*/; 1649 1649 unsigned long curr; 1650 1650 int *rowchoise,*colchoise; 1651 1651 BOOLEAN rowch,colch; 1652 ideal result;1652 // ideal result; 1653 1653 matrix tmp; 1654 1654 poly p,q; … … 1659 1659 rowchoise=(int *)omAlloc(ar*sizeof(int)); 1660 1660 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); 1664 1664 tmp=mpNew(ar,ar); 1665 k = 0; /* the index in result*/1665 // k = 0; /* the index in result*/ 1666 1666 curr = 0; /* index of current minor */ 1667 1667 idInitChoise(ar,1,a->rows(),&rowch,rowchoise); … … 1714 1714 ideal idMinors(matrix a, int ar, ideal R) 1715 1715 { 1716 int i,j, k,size;1716 int i,j,/*k,*/size; 1717 1717 int *rowchoise,*colchoise; 1718 1718 BOOLEAN rowch,colch; … … 1730 1730 result=idInit(size,1); 1731 1731 tmp=mpNew(ar,ar); 1732 k = 0; /* the index in result*/1732 // k = 0; /* the index in result*/ 1733 1733 idInitChoise(ar,1,a->rows(),&rowch,rowchoise); 1734 1734 while (!rowch)
Note: See TracChangeset
for help on using the changeset viewer.