Commit adc03be6 authored by Paul's avatar Paul
Browse files

Format

parent 6ba5859b
......@@ -37,8 +37,9 @@ bool reduce_dim(std::vector<shape>& shapes, std::size_t n)
void reduce_dim1(std::vector<shape>& shapes)
{
if(std::any_of(
shapes.begin(), shapes.end(), [&](const auto& s) { return s.lens().size() < 2 or s.lens().back() != 1; }))
if(std::any_of(shapes.begin(), shapes.end(), [&](const auto& s) {
return s.lens().size() < 2 or s.lens().back() != 1;
}))
return;
for(auto& s : shapes)
{
......
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