Commit 73da1e4a authored by Paul's avatar Paul
Browse files

Format

parent dd900bf2
...@@ -43,7 +43,7 @@ namespace migraphx { ...@@ -43,7 +43,7 @@ namespace migraphx {
template <class U, MIGRAPHX_REQUIRES(is_convertible<U, T>{})> \ template <class U, MIGRAPHX_REQUIRES(is_convertible<U, T>{})> \
constexpr array& operator op(const U& x) \ constexpr array& operator op(const U& x) \
{ \ { \
array_for_each(*this)([&](auto& sy) { sy op x; }); \ array_for_each (*this)([&](auto& sy) { sy op x; }); \
return *this; \ return *this; \
} \ } \
template <class U> \ template <class U> \
...@@ -68,7 +68,7 @@ namespace migraphx { ...@@ -68,7 +68,7 @@ namespace migraphx {
return z; \ return z; \
} }
template<class T, class... Ts> template <class T, class... Ts>
constexpr auto array_for_each(T& x, Ts&... xs) constexpr auto array_for_each(T& x, Ts&... xs)
{ {
return [&](auto f) { return [&](auto f) {
......
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