Ignore:
Timestamp:
Dec 3, 2017, 2:54:34 PM (18 months ago)
Author:
cameron
Message:

idisa_target bug fix, eliminate braces around scalar initializer warning, disable lz4d_test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/kernels/processing_rate.h

    r5755 r5756  
    116116
    117117inline ProcessingRate BoundedRate(const unsigned lower, const unsigned upper) {
     118    using RateValue = boost::rational<unsigned>;
    118119    if (lower == upper) {
    119120        return FixedRate(lower);
    120121    } else {
    121         return ProcessingRate(ProcessingRate::KindId::Bounded, {lower}, {upper});
     122        return ProcessingRate(ProcessingRate::KindId::Bounded, RateValue(lower), RateValue(upper));
    122123    }
    123124}
Note: See TracChangeset for help on using the changeset viewer.