Ignore:
Timestamp:
Jul 6, 2017, 7:50:53 AM (2 years ago)
Author:
cameron
Message:

Bug fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/kernels/kernel.cpp

    r5542 r5551  
    694694        isDerived[i] = false;
    695695    }
    696     for (auto & ss : mStreamSetOutputs) {
    697         unsigned i = inputSetCount;
    698         auto & rate = ss.rate;
     696    for (unsigned i = inputSetCount; i < totalSetCount; i++) {
     697        auto & rate = mStreamSetOutputs[i-inputSetCount].rate;
    699698        std::string refSet = rate.referenceStreamSet();
    700699        if (rate.isExact() || rate.isMaxRatio()) {
     
    709708        }
    710709        isDerived[i] = false;
    711         i++;
    712710    }
    713711    int maxBlocksToCopy[totalSetCount];
Note: See TracChangeset for help on using the changeset viewer.