index pack: fix

This commit is contained in:
Christian Zimmermann 2024-10-19 22:23:39 -07:00
parent 462be41f1d
commit a4a67d2841

View file

@ -68,7 +68,7 @@ namespace CNORXZ
template <class... Indices2> template <class... Indices2>
constexpr decltype(auto) SPack<Indices...>::mul(const SPack<Indices2...>& p) const constexpr decltype(auto) SPack<Indices...>::mul(const SPack<Indices2...>& p) const
{ {
return SPack<Indices...,Indices2...>( std::tuple_cat(mIs, all()) ); return SPack<Indices...,Indices2...>( std::tuple_cat(mIs, p.all()) );
} }
template <class... Indices> template <class... Indices>