"src/nni_manager/vscode:/vscode.git/clone" did not exist on "db91e8e6e4c60ef816d2f2f80b4e4c445be8a7ee"
Commit c8149ce3 authored by Paul's avatar Paul
Browse files

Fix some more unit tests

parent 5ee6f0c6
......@@ -36,7 +36,7 @@ constexpr std::size_t msgpack_size_limit = std::numeric_limits<uint32_t>::max()
template <class Range>
std::size_t msgpack_chunk_size(const Range& r)
{
return r.size() / msgpack_size_limit;
return 1 + r.size() / msgpack_size_limit;
}
template <class Iterator, class F>
......@@ -125,7 +125,7 @@ MSGPACK_API_VERSION_NAMESPACE(MSGPACK_DEFAULT_API_NS)
migraphx::overload(
[&](migraphx::value::binary& bin) {
bin.insert(
bin.end(), o.via.bin.ptr, o.via.bin.ptr + o.via.bin.size);
bin.end(), sa.via.bin.ptr, sa.via.bin.ptr + sa.via.bin.size);
},
[&](migraphx::value::array& arr) {
std::for_each(sa.via.array.ptr,
......
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