Commit 225c2d64 authored by Paul's avatar Paul
Browse files

Formatting

parent 24cc6ea8
......@@ -27,9 +27,7 @@ literal generate_literal(shape s, unsigned long seed)
// TODO: Move to literal.cpp
literal abs(literal l)
{
return transform(l, [](auto x) {
return std::fabs(x);
});
return transform(l, [](auto x) { return std::fabs(x); });
}
} // namespace migraph
......@@ -94,7 +94,7 @@ struct literal : raw_data<literal>
}
};
template<class F>
template <class F>
literal transform(literal l, F f)
{
literal result;
......
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