Ignore:
Timestamp:
Jan 3, 2019 4:26:29 PM (8 months ago)
Author:
unxusr
Message:

spaces after angles

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cbc/src/CbcFathomDynamicProgramming.cpp

    r2465 r2467  
    199199  double check = COIN_INT_MAX;
    200200  for (i = 0; i < numberRows; i++) {
    201     int n = static_cast<int>(floor(rhs[i] + 0.5));
     201    int n = static_cast< int >(floor(rhs[i] + 0.5));
    202202    if (n) {
    203203      n++; // allow for 0,1... n
     
    228228    size_ = COIN_INT_MAX;
    229229  else
    230     size_ = static_cast<int>(size);
     230    size_ = static_cast< int >(size);
    231231
    232232  int n01 = 0;
     
    274274    int kBit = 0;
    275275    for (i = 0; i < numberRows; i++) {
    276       int n = static_cast<int>(floor(rhs[i] + 0.5));
     276      int n = static_cast< int >(floor(rhs[i] + 0.5));
    277277      if (n) {
    278278        lookup_[i] = numberActive;
     
    395395        int newRow = lookup_[i];
    396396        if (newRow >= 0) {
    397           int gap = static_cast<int>(rowUpper[i] - CoinMax(0.0, rowLower[i]));
     397          int gap = static_cast< int >(rowUpper[i] - CoinMax(0.0, rowLower[i]));
    398398          lower2[newRow] = rhs_[newRow] - gap;
    399399          int numberBits = numberBits_[newRow];
     
    483483      double cost = direction * objective[i];
    484484      fixedObj += lowerValue * cost;
    485       int gap = static_cast<int>(upper[i] - lowerValue);
     485      int gap = static_cast< int >(upper[i] - lowerValue);
    486486      CoinBigIndex start = columnStart[i];
    487487      tryColumn(columnLength[i], row + start, element + start, cost, gap);
     
    521521        int newRow = lookup_[i];
    522522        if (newRow >= 0) {
    523           int gap = static_cast<int>(rowUpper[i] - CoinMax(0.0, rowLower[i]));
     523          int gap = static_cast< int >(rowUpper[i] - CoinMax(0.0, rowLower[i]));
    524524          lower[newRow] = rhs_[newRow] - gap;
    525525          int numberBits = numberBits_[newRow];
     
    574574                int iRow = row[j];
    575575                double value = element[j];
    576                 int iValue = static_cast<int>(value);
     576                int iValue = static_cast< int >(value);
    577577                if (iValue != indices_[iRow]) {
    578578                  good = false;
     
    655655      int iRow = rows[j];
    656656      double value = coefficients[j];
    657       int iValue = static_cast<int>(value);
     657      int iValue = static_cast< int >(value);
    658658      int newRow = lookup_[iRow];
    659659      if (newRow < 0 || iValue > rhs_[newRow]) {
Note: See TracChangeset for help on using the changeset viewer.