Skip to content

Commit

Permalink
GCC warning fix (cast)
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 428720498
  • Loading branch information
jan-wassenberg authored and copybara-github committed Feb 15, 2022
1 parent 39f115c commit 66c0afd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hwy/contrib/sort/bench_sort.cc
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ HWY_NOINLINE void BenchBase(std::vector<Result>& results) {
const Timestamp t0;
for (size_t i = 0; i < kMul; ++i) {
detail::BaseCase(d, st, keys.get(), num, buf.get());
sum += keys[0];
sum += static_cast<double>(keys[0]);
}
seconds.push_back(SecondsSince(t0));
// printf("%f\n", seconds.back());
Expand Down

0 comments on commit 66c0afd

Please sign in to comment.