"...resnet50_tensorflow.git" did not exist on "b3f57016200141f00926b66dd605f2f6dad2f7dc"
Commit 22693358 authored by Paul's avatar Paul
Browse files

Handle implicit conversions

parent 9f8c4774
...@@ -103,7 +103,8 @@ constexpr auto array_for_each(T& x, Ts&... xs) ...@@ -103,7 +103,8 @@ constexpr auto array_for_each(T& x, Ts&... xs)
} }
else else
{ {
f(array2vec(x), array2vec(xs)...); using vec_type = std::remove_reference_t<decltype(array2vec(x))>;
f(array2vec(x), __builtin_convertvector(array2vec(xs), vec_type)...);
} }
} }
else else
......
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