Commit 44bf5bab authored by Dominik Charousset's avatar Dominik Charousset

Fix sign warning

parent b5e52ce2
...@@ -92,8 +92,8 @@ class actor_facade<Ret(Args...)> : public abstract_actor { ...@@ -92,8 +92,8 @@ class actor_facade<Ret(Args...)> : public abstract_actor {
throw std::runtime_error(oss.str()); throw std::runtime_error(oss.str());
} }
if (result_size == 0) { if (result_size == 0) {
result_size = std::accumulate(global_dims.begin(), global_dims.end(), 1, result_size = std::accumulate(global_dims.begin(), global_dims.end(),
std::multiplies<size_t>{}); size_t{1}, std::multiplies<size_t>{});
} }
return new actor_facade<Ret(Args...)>{ return new actor_facade<Ret(Args...)>{
prog, kernel, global_dims, offsets, prog, kernel, global_dims, offsets,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment