Changeset 1309 for stable/1.8


Ignore:
Timestamp:
Nov 30, 2008 11:24:18 AM (11 years ago)
Author:
forrest
Message:

second try at fixing duplicate problem

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stable/1.8/Clp/src/ClpPackedMatrix.cpp

    r1308 r1309  
    28582858  else if (numberSmall)
    28592859    matrix_->compress(smallest);
    2860   // Can there be zero elements?
    2861   flags_ |= 1;;
    2862   if (!numberSmall&&!numberDuplicate)
     2860  // If smallest >0.0 then there can't be zero elements
     2861  if (smallest>0.0)
    28632862    flags_ &= ~1;;
     2863  if (numberSmall||numberDuplicate)
     2864    flags_ |= 2; // will have gaps
    28642865  return true;
    28652866}
Note: See TracChangeset for help on using the changeset viewer.