Ignore:
Timestamp:
Jan 6, 2019 2:43:06 PM (3 months ago)
Author:
unxusr
Message:

formatting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Clp/src/ClpDualRowPivot.cpp

    r1665 r2385  
    1515// Default Constructor
    1616//-------------------------------------------------------------------
    17 ClpDualRowPivot::ClpDualRowPivot () :
    18      model_(NULL),
    19     type_(-1)
     17ClpDualRowPivot::ClpDualRowPivot()
     18  : model_(NULL)
     19  , type_(-1)
    2020{
    21 
    2221}
    2322
     
    2524// Copy constructor
    2625//-------------------------------------------------------------------
    27 ClpDualRowPivot::ClpDualRowPivot (const ClpDualRowPivot & source) :
    28      model_(source.model_),
    29     type_(source.type_)
     26ClpDualRowPivot::ClpDualRowPivot(const ClpDualRowPivot &source)
     27  : model_(source.model_)
     28  , type_(source.type_)
    3029{
    31 
    3230}
    3331
     
    3533// Destructor
    3634//-------------------------------------------------------------------
    37 ClpDualRowPivot::~ClpDualRowPivot ()
     35ClpDualRowPivot::~ClpDualRowPivot()
    3836{
    39 
    4037}
    4138
     
    4441//-------------------------------------------------------------------
    4542ClpDualRowPivot &
    46 ClpDualRowPivot::operator=(const ClpDualRowPivot& rhs)
     43ClpDualRowPivot::operator=(const ClpDualRowPivot &rhs)
    4744{
    48      if (this != &rhs) {
    49           type_ = rhs.type_;
    50           model_ = rhs.model_;
    51      }
    52      return *this;
     45  if (this != &rhs) {
     46    type_ = rhs.type_;
     47    model_ = rhs.model_;
     48  }
     49  return *this;
    5350}
    54 void
    55 ClpDualRowPivot::saveWeights(ClpSimplex * model, int /*mode*/)
     51void ClpDualRowPivot::saveWeights(ClpSimplex *model, int /*mode*/)
    5652{
    57      model_ = model;
     53  model_ = model;
    5854}
    5955// checks accuracy and may re-initialize (may be empty)
    60 void
    61 ClpDualRowPivot::checkAccuracy()
     56void ClpDualRowPivot::checkAccuracy()
    6257{
    6358}
    64 void
    65 ClpDualRowPivot::unrollWeights()
     59void ClpDualRowPivot::unrollWeights()
    6660{
    6761}
    6862// Gets rid of all arrays
    69 void
    70 ClpDualRowPivot::clearArrays()
     63void ClpDualRowPivot::clearArrays()
    7164{
    7265}
     66
     67/* vi: softtabstop=2 shiftwidth=2 expandtab tabstop=2
     68*/
Note: See TracChangeset for help on using the changeset viewer.