Changeset 923 for branches


Ignore:
Timestamp:
Feb 24, 2007 9:34:22 AM (13 years ago)
Author:
forrest
Message:

for lou

Location:
branches/devel/Clp/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/devel/Clp/src/ClpModel.cpp

    r918 r923  
    825825      return false;
    826826    break;
    827   case ClpLastIntParam:
     827  default:
    828828    return false;
    829829  }
     
    870870    break;
    871871   
    872   case ClpLastDblParam:
     872  default:
    873873    return false;
    874874  }
     
    888888    break;
    889889
    890   case ClpLastStrParam:
     890  default:
    891891    return false;
    892892  }
  • branches/devel/Clp/src/ClpModel.hpp

    r921 r923  
    746746    // Get an integer parameter
    747747    inline bool getIntParam(ClpIntParam key, int& value) const {
    748       if (key!=ClpLastIntParam) {
     748      if (key<ClpLastIntParam) {
    749749        value = intParam_[key];
    750750        return true;
     
    755755    // Get an double parameter
    756756    inline bool getDblParam(ClpDblParam key, double& value) const {
    757       if (key!=ClpLastDblParam) {
     757      if (key<ClpLastDblParam) {
    758758        value = dblParam_[key];
    759759        return true;
     
    765765    // Get a string parameter
    766766    inline bool getStrParam(ClpStrParam key, std::string& value) const {
    767       if (key!=ClpLastStrParam) {
     767      if (key<ClpLastStrParam) {
    768768        value = strParam_[key];
    769769        return true;
Note: See TracChangeset for help on using the changeset viewer.