Changeset 1308


Ignore:
Timestamp:
Nov 25, 2008 4:48:12 PM (11 years ago)
Author:
forrest
Message:

fix if duplicate elements

File:
1 edited

Legend:

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

    r1263 r1308  
    28582858  else if (numberSmall)
    28592859    matrix_->compress(smallest);
    2860   // If smallest >0.0 then there can't be zero elements
    2861   if (smallest>0.0)
     2860  // Can there be zero elements?
     2861  flags_ |= 1;;
     2862  if (!numberSmall&&!numberDuplicate)
    28622863    flags_ &= ~1;;
    28632864  return true;
Note: See TracChangeset for help on using the changeset viewer.