Commit 551c2e45 authored by Paul's avatar Paul
Browse files

Format

parent 23c97fa9
...@@ -63,11 +63,12 @@ struct index ...@@ -63,11 +63,12 @@ struct index
template <class F, class N, class Stride> template <class F, class N, class Stride>
static constexpr void for_stride(index_int start, N n, Stride stride, F f) static constexpr void for_stride(index_int start, N n, Stride stride, F f)
{ {
if constexpr(not is_integral<N>{} and not is_integral<Stride>{} and max_stride_iterations(n, stride) == 1) if constexpr(not is_integral<N>{} and not is_integral<Stride>{} and
max_stride_iterations(n, stride) == 1)
{ {
if constexpr(stride > n) if constexpr(stride > n)
{ {
if (start < n) if(start < n)
f(start); f(start);
} }
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