Changeset 1632


Ignore:
Timestamp:
Mar 3, 2010 4:39:36 AM (10 years ago)
Author:
pbonami
Message:

Fix for windows

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stable/1.3/Bonmin/src/CbcBonmin/Heuristics/BonHeuristicDiveMIP.cpp

    r1631 r1632  
    195195                      indexRow, indexCol, 0);
    196196
    197     std::vector<int> sortedIndex(nnz_jac_g);
    198     if(!nnz_jac_g){
    199       CoinIotaN(&sortedIndex[0], nnz_jac_g, 0);
    200     }
     197    vector<int> sortedIndex(nnz_jac_g);
     198    CoinIotaN(sortedIndex(), nnz_jac_g, 0);
    201199    MatComp c;
    202200    c.iRow = indexRow;
Note: See TracChangeset for help on using the changeset viewer.