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