Ignore:
Timestamp:
Oct 28, 2017, 2:27:57 PM (21 months ago)
Author:
cameron
Message:

Small fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/builder.cpp

    r5712 r5714  
    137137        return expr;
    138138    }
    139     else if (isa<Ones>(expr)) {
     139    else if (isa<Ones>(indexStream)) {
    140140        return createAdvance(expr, shiftAmount);
    141141    }
     
    151151        return expr;
    152152    }
    153     else if (isa<Ones>(expr)) {
     153    else if (isa<Ones>(indexStream)) {
    154154        return createAdvance(expr, shiftAmount, prefix);
    155155    }
Note: See TracChangeset for help on using the changeset viewer.