Changeset 1d43d18 in git
- Timestamp:
- Jan 5, 2010, 5:31:10 PM (13 years ago)
- Branches:
- (u'spielwiese', 'f6c3dc58b0df4bd712574325fe76d0626174ad97')
- Children:
- 287cc89f3328634c02f880d1edd4407bebd029e6
- Parents:
- c1b19ccf41e1037d164be1cd878738e7b2cdfaec
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/gfan.cc
rc1b19cc r1d43d18 1288 1288 markingsAreCorrect=TRUE; 1289 1289 } 1290 1290 1291 1291 for (int jj=0;jj<this->numVars;jj++) 1292 1292 { … … 1340 1340 dd_rowindex newpos; 1341 1341 1342 dd_MatrixCanonicalize(&intPointMatrix,&implLin,&redrows,&newpos,&err);1343 //dd_MatrixCanonicalizeLinearity(&intPointMatrix,&implLin, &newpos,&err);1342 // dd_MatrixCanonicalize(&intPointMatrix,&implLin,&redrows,&newpos,&err); 1343 dd_MatrixCanonicalizeLinearity(&intPointMatrix,&implLin, &newpos,&err); 1344 1344 //dd_MatrixRedundancyRemove is our time sink! 1345 1345 // dd_MatrixRedundancyRemove(&intPointMatrix,&redrows,&newpos,&err); … … 1539 1539 { 1540 1540 //Remove strictly positive rows 1541 //int *posRowsArray=NULL;1542 //int num_alloc=0;1543 //int num_elts=0;1541 int *posRowsArray=NULL; 1542 int num_alloc=0; 1543 int num_elts=0; 1544 1544 // for(int ii=0;ii<ddineq->rowsize;ii++) 1545 1545 // { … … 1590 1590 // free(posRowsArray); 1591 1591 //Remove zeroes 1592 int rowsize=ddineq->rowsize;1592 // int rowsize=ddineq->rowsize; 1593 1593 for(int ii=0;ii<ddineq->rowsize;ii++) 1594 1594 { … … 1598 1598 { 1599 1599 (*iv)[jj]=(int)mpq_get_d(ddineq->matrix[ii][jj+1]); 1600 if((*iv)[ii]>0)1601 posCtr++;1600 // if((*iv)[ii]>0) 1601 // posCtr++; 1602 1602 } 1603 if( (iv->compare(0)==0) )//|| (posCtr==iv->length()) )1603 if( (iv->compare(0)==0) )//|| (posCtr==iv->length()) ) 1604 1604 { 1605 1605 dd_MatrixRowRemove(&ddineq,ii+1);
Note: See TracChangeset
for help on using the changeset viewer.