Changeset 392


Ignore:
Timestamp:
Jun 21, 2004 7:06:27 AM (16 years ago)
Author:
forrest
Message:

changing setScale

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/ClpModel.hpp

    r389 r392  
    301301   inline const double * rowScale() const {return rowScale_;};
    302302   inline const double * columnScale() const {return columnScale_;};
    303    inline void setRowScale(double * scale) { rowScale_ = scale;};
    304    inline void setColumnScale(double * scale) { columnScale_ = scale;};
     303   inline void setRowScale(double * scale) { delete [] rowScale_; rowScale_ = scale;};
     304   inline void setColumnScale(double * scale) { delete [] columnScale_; columnScale_ = scale;};
    305305  /// Scaling of objective
    306306  inline double objectiveScale() const
Note: See TracChangeset for help on using the changeset viewer.