aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/runtime/NEON/functions/NEGEMMAssemblyDispatch.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/runtime/NEON/functions/NEGEMMAssemblyDispatch.cpp b/src/runtime/NEON/functions/NEGEMMAssemblyDispatch.cpp
index 4e43d04446..91b91d6668 100644
--- a/src/runtime/NEON/functions/NEGEMMAssemblyDispatch.cpp
+++ b/src/runtime/NEON/functions/NEGEMMAssemblyDispatch.cpp
@@ -241,8 +241,7 @@ std::tuple<const int32_t *, const int32_t *> Fallback<TypeInput, TypeOutput, Out
{
_multipliers = multipliers;
_shifts = shifts;
- std::transform(_shifts.begin(), _shifts.end(), _shifts.begin(),
- std::bind1st(std::multiplies<int32_t>(), -1));
+ std::transform(_shifts.begin(), _shifts.end(), _shifts.begin(), std::negate<int32_t>());
return std::make_tuple(_shifts.data(), _multipliers.data());
}