Skip to content

Commit 68323b9

Browse files
committed
fix bug where a counter was not incremented
1 parent 30c8093 commit 68323b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmarks/benchmark.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ void describe(const std::variant<std::vector<TestCase<float>>, std::vector<TestC
243243
// Case where the string has more significant digits than the minimum
244244
size_t digits = count_significant_digits(std::string_view(bufspan.data(), len));
245245
if(min_digits[i] < digits) {
246-
246+
howmany_digits++;
247247
bool new_record = (len > digits_worse_than_min + sizes[i]);
248248
digits_worse_than_min = (std::max)(digits_worse_than_min, digits - min_digits[i]);
249249
if(new_record) {

0 commit comments

Comments
 (0)