Commit 924a0ffa authored by Paul's avatar Paul
Browse files

Format

parent 73d53f86
......@@ -201,11 +201,9 @@ struct block
__device__ auto reduce(Op op, T init, Read read) const
{
return sliced(slicer, [=](auto x, auto... xs) {
return block_reduce(idx,
op,
init,
x.get_shape().elements(),
[&](auto j) { return vec_reduce(read(x[j], xs[j]...), op); });
return block_reduce(idx, op, init, x.get_shape().elements(), [&](auto j) {
return vec_reduce(read(x[j], xs[j]...), op);
});
});
}
......
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