Changeset 3225


Ignore:
Timestamp:
May 12, 2014, 7:21:36 AM (7 years ago)
Author:
Peter
Message:

make code more readable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/utility/merge.h

    r3224 r3225  
    264264        const std::vector<size_t>& index = iter->second;
    265265        for (size_t col=0; col<result.columns(); ++col) {
     266          using boost::make_permutation_iterator;
    266267          assign(result(row,col),
    267                  boost::make_permutation_iterator(x.begin_column(col),
    268                                                   index.begin()),
    269                  boost::make_permutation_iterator(x.end_column(col),
    270                                                   index.end()),
     268                 make_permutation_iterator(x.begin_column(col), index.begin()),
     269                 make_permutation_iterator(x.end_column(col), index.end()),
    271270                 func1, func2);
    272271        }
Note: See TracChangeset for help on using the changeset viewer.