Ignore:
Timestamp:
May 23, 2017, 12:03:33 PM (2 years ago)
Author:
xuedongx
Message:

bug fix

File:
1 edited

Legend:

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

    r5440 r5471  
    5050        for (unsigned i = 0; i < swizzleFactor; i++) {
    5151            unsigned streamNo = grp * swizzleFactor + i;
    52             if (streamNo < swizzleFactor) {
     52            if (streamNo < mBitStreamCount) {
    5353                unsigned inputSetNo = streamNo / inputStreamsPerSet;
    5454                unsigned j = streamNo % inputStreamsPerSet;
Note: See TracChangeset for help on using the changeset viewer.