Ignore:
Timestamp:
Jul 28, 2004 2:45:41 PM (16 years ago)
Author:
forrest
Message:

to stop Idiot seg fault

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/ClpModel.hpp

    r393 r403  
    304304   inline const double * rowScale() const {return rowScale_;};
    305305   inline const double * columnScale() const {return columnScale_;};
    306    inline void setRowScale(double * scale) { delete [] rowScale_; rowScale_ = scale;};
    307    inline void setColumnScale(double * scale) { delete [] columnScale_; columnScale_ = scale;};
     306   inline void setRowScale(double * scale) { delete [] (double *) rowScale_; rowScale_ = scale;};
     307   inline void setColumnScale(double * scale) { delete [] (double *) columnScale_; columnScale_ = scale;};
    308308  /// Scaling of objective
    309309  inline double objectiveScale() const
Note: See TracChangeset for help on using the changeset viewer.