Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • stable/2.8/Cbc/src/Cbc_C_Interface.cpp

    r1573 r1902  
    22662266COINLIBAPI void  COINLINKAGE
    22672267Cbc_addSOS_Dense(Cbc_Model * model, int numObjects, const int * len,
    2268                  const int ** which, const double * weights, const int type)
     2268                 const int * const* which, const double * weights, const int type)
    22692269{
    22702270    const char prefix[] = "Cbc_C_Interface::Cbc_addSOS_Dense(): ";
     
    22732273
    22742274    assert(1 > 0);// this is probably broken
    2275     int i, j, l;
    2276     const int *w;
     2275    int i, j;
    22772276    // I think this is a different model due to overriding = operator
    22782277    CbcModel m = *(model->model_);
     
    22972296        // Make a CbcSOS and assign it to objects
    22982297        if (VERBOSE > 1) printf("%s len[%i] = %i\n", prefix, i, len[i]);
    2299         l = len[i];
    2300         w = which[i];
    23012298        if (VERBOSE > 1) printf("%s new CbcSOS()\n", prefix);
    23022299        // ***
Note: See TracChangeset for help on using the changeset viewer.