mpi: rarray: operator(single index); to be checked, generalized...
This commit is contained in:
parent
8bf9699ad3
commit
40fd0251db
1 changed files with 12 additions and 2 deletions
|
@ -323,8 +323,18 @@ namespace CNORXZ
|
||||||
template <class Index>
|
template <class Index>
|
||||||
COpRoot<T,Index> RArray<T>::operator()(const Sptr<Index>& i) const
|
COpRoot<T,Index> RArray<T>::operator()(const Sptr<Index>& i) const
|
||||||
{
|
{
|
||||||
CXZ_ERROR("not implemented");
|
//CXZ_ERROR("not implemented");
|
||||||
return COpRoot<T,Index>();
|
/*
|
||||||
|
if constexpr(index_is_multi<Index>::value){
|
||||||
|
return (*this)(i->pack());
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
return (*this)(SPack<Index>(i));
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
//return COpRoot<T,Index>();
|
||||||
|
// TODO: This is preliminary!!!
|
||||||
|
return coproot(*mB, i);
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
|
|
Loading…
Reference in a new issue