diff --git a/src/benchmark.cc b/src/benchmark.cc index f6c4fc2b..cb8e132e 100644 --- a/src/benchmark.cc +++ b/src/benchmark.cc @@ -549,6 +549,7 @@ void BenchmarkImp::RangePair(int lo1, int hi1, int lo2, int hi2) { } void BenchmarkImp::RangeMultiplier(int multiplier) { + CHECK(multiplier > 1); range_multiplier_ = multiplier; }