fix | operator for index tuple
This commit is contained in:
parent
675b0dd9f0
commit
f6372fcbdb
1 changed files with 2 additions and 2 deletions
|
@ -21,9 +21,9 @@ namespace MultiArrayTools
|
|||
|
||||
template <class IndexType1, class IndexType2>
|
||||
inline auto operator|(const IPTR<IndexType1>& i1, const IPTR<IndexType2>& i2)
|
||||
-> decltype(std::make_tuple(i1->THIS(),i2->THIS()))
|
||||
-> decltype(std::make_tuple(i1,i2))
|
||||
{
|
||||
return std::make_tuple(i1->THIS(),i2->THIS());
|
||||
return std::make_tuple(i1,i2);
|
||||
}
|
||||
|
||||
template <class IndexType1, class... IndexTypes2>
|
||||
|
|
Loading…
Reference in a new issue