Commit 2ab3644a authored by Paul's avatar Paul
Browse files

Format

parent ccf2420d
......@@ -48,9 +48,9 @@ auto msgpack_type(migraphx::rank<1>, const T& src) -> decltype(src.empty(), std:
template <class T>
auto msgpack_type(migraphx::rank<2>, const std::vector<T>& src)
{
using type = decltype(msgpack_type(migraphx::rank<2>{}, src.front()));
using type = decltype(msgpack_type(migraphx::rank<2>{}, src.front()));
using result_type = std::vector<std::vector<type>>;
if (src.empty())
if(src.empty())
return result_type{};
std::vector<type> result;
std::transform(src.begin(), src.end(), std::back_inserter(result), [](const auto& x) {
......
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