这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions hwy/contrib/algo/find_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ struct TestFindIf {
// Includes out-of-range value 9 to test the not-found path.
for (int val = min_val; val <= 9; ++val) {
#if HWY_GENERIC_LAMBDA
const auto greater = [val](const auto d, const auto v) HWY_ATTR {
return Gt(v, Set(d, ConvertScalarTo<T>(val)));
const auto greater = [val](const auto d2, const auto v) HWY_ATTR {
return Gt(v, Set(d2, ConvertScalarTo<T>(val)));
};
#else
const GreaterThan greater(val);
Expand Down