Commit d2103de3 by Ismael

Modified check for range multiplier

parent c60eefdb
......@@ -505,7 +505,6 @@ void BenchmarkImp::RangePair(int lo1, int hi1, int lo2, int hi2) {
}
void BenchmarkImp::RangeMultiplier(int multiplier) {
CHECK_GE(multiplier, 2);
range_multiplier_ = multiplier;
}
......@@ -548,6 +547,7 @@ void BenchmarkImp::SetName(const char* name) {
void BenchmarkImp::AddRange(std::vector<int>* dst, int lo, int hi, int mult) {
CHECK_GE(lo, 0);
CHECK_GE(hi, lo);
CHECK_GE(mult, 2);
// Add "lo"
dst->push_back(lo);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment