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 {
|
||||
return beta == Int<0>{};
|
||||
}
|
||||
|
||||
CUTE_GCC_UNREACHABLE;
|
||||
} ();
|
||||
|
||||
CUTE_UNROLL
|
||||
|
@ -743,6 +743,8 @@ repeat(X const& x)
|
||||
} else {
|
||||
return detail::construct(0, x, seq<>{}, make_seq<N>{}, seq<>{});
|
||||
}
|
||||
|
||||
CUTE_GCC_UNREACHABLE;
|
||||
}
|
||||
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user