Commit 9e405e27 authored by Paul's avatar Paul
Browse files

Format

parent 74c98abd
......@@ -507,7 +507,8 @@ std::vector<argument> generic_eval(const module* mod,
}));
}
assert(results.find(ins) != results.end());
assert(ins->get_shape().any_of_dynamic() or results.at(ins).get_shape() == ins->get_shape());
assert(ins->get_shape().any_of_dynamic() or
results.at(ins).get_shape() == ins->get_shape());
}
return {results.at(std::prev(mod->end()))};
}
......
......@@ -76,7 +76,10 @@ void reduce_dim1(std::vector<shape>& shapes)
std::size_t reduce_dim_all(std::vector<shape>& shapes, std::size_t n)
{
while(reduce_dim(shapes, n) and n < shapes.size()) { (void)n; }
while(reduce_dim(shapes, n) and n < shapes.size())
{
(void)n;
}
return n + 1;
}
void reduce_dim_all(std::vector<shape>& 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