fix missing return warning for repeat and axpby (#1124)
This commit is contained in:
parent
112590114d
commit
fa8dfe631f
@ -75,6 +75,8 @@ axpby(Alpha const& alpha,
|
|||||||
else {
|
else {
|
||||||
return beta == Int<0>{};
|
return beta == Int<0>{};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CUTE_GCC_UNREACHABLE;
|
||||||
} ();
|
} ();
|
||||||
|
|
||||||
CUTE_UNROLL
|
CUTE_UNROLL
|
||||||
|
@ -743,6 +743,8 @@ repeat(X const& x)
|
|||||||
} else {
|
} else {
|
||||||
return detail::construct(0, x, seq<>{}, make_seq<N>{}, seq<>{});
|
return detail::construct(0, x, seq<>{}, make_seq<N>{}, seq<>{});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CUTE_GCC_UNREACHABLE;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user