Skip to content

Commit

Permalink
fix Action failure: incorrect dependency and cast
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 680576677
  • Loading branch information
jan-wassenberg authored and copybara-github committed Sep 30, 2024
1 parent e4f735c commit 1f60309
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions hwy/contrib/sort/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,8 @@ cc_test(
":vqsort_for_test",
"//:hwy",
"//:hwy_test_util",
"//third_party/highway:thread_pool",
"//third_party/highway:topology",
"//:thread_pool",
"//:topology",
] + TEST_MAIN,
)

Expand Down
2 changes: 1 addition & 1 deletion hwy/contrib/sort/sort_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ void TestSortIota(hwy::ThreadPool& pool) {
std::iota(keys, keys + num, Key{0});
VQSort(keys, num, hwy::SortAscending());
for (size_t i = 0; i < num; ++i) {
if (keys[i] != i) {
if (keys[i] != static_cast<Key>(i)) {
HWY_ABORT("num %zu i %zu: not iota, got %.0f\n", num, i,
static_cast<double>(keys[i]));
}
Expand Down

0 comments on commit 1f60309

Please sign in to comment.