WIP: deepFormat + check format compatibility
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
7e182ded83
commit
303450d068
1 changed files with 6 additions and 6 deletions
|
@ -100,7 +100,7 @@ namespace CNORXZ
|
||||||
template <class Index>
|
template <class Index>
|
||||||
COpRoot<T,Index> CArrayBase<T>::operator()(const Sptr<Index>& i) const
|
COpRoot<T,Index> CArrayBase<T>::operator()(const Sptr<Index>& i) const
|
||||||
{
|
{
|
||||||
//this->checkFormatCompatibility(toVec(i->deepFormat()));
|
this->checkFormatCompatibility(toVec(i->deepFormat()));
|
||||||
return coproot(*this, i);
|
return coproot(*this, i);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -109,7 +109,7 @@ namespace CNORXZ
|
||||||
inline decltype(auto) CArrayBase<T>::operator()(const SPack<Indices...>& pack) const
|
inline decltype(auto) CArrayBase<T>::operator()(const SPack<Indices...>& pack) const
|
||||||
{
|
{
|
||||||
auto i = mindexPtr(pack);
|
auto i = mindexPtr(pack);
|
||||||
//this->checkFormatCompatibility(toVec(i->deepFormat()));
|
this->checkFormatCompatibility(toVec(i->deepFormat()));
|
||||||
return coproot(*this, i);
|
return coproot(*this, i);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -117,7 +117,7 @@ namespace CNORXZ
|
||||||
inline decltype(auto) CArrayBase<T>::operator()(const DPack& pack) const
|
inline decltype(auto) CArrayBase<T>::operator()(const DPack& pack) const
|
||||||
{
|
{
|
||||||
auto i = yindexPtr(pack);
|
auto i = yindexPtr(pack);
|
||||||
//this->checkFormatCompatibility(toVec(i->deepFormat()));
|
this->checkFormatCompatibility(toVec(i->deepFormat()));
|
||||||
return coproot(*this, i);
|
return coproot(*this, i);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -223,7 +223,7 @@ namespace CNORXZ
|
||||||
template <class Index>
|
template <class Index>
|
||||||
OpRoot<T,Index> ArrayBase<T>::operator()(const Sptr<Index>& i)
|
OpRoot<T,Index> ArrayBase<T>::operator()(const Sptr<Index>& i)
|
||||||
{
|
{
|
||||||
//this->checkFormatCompatibility(toVec(i->deepFormat()));
|
this->checkFormatCompatibility(toVec(i->deepFormat()));
|
||||||
return oproot(*this, i);
|
return oproot(*this, i);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -232,7 +232,7 @@ namespace CNORXZ
|
||||||
inline decltype(auto) ArrayBase<T>::operator()(const SPack<Indices...>& pack)
|
inline decltype(auto) ArrayBase<T>::operator()(const SPack<Indices...>& pack)
|
||||||
{
|
{
|
||||||
auto i = mindexPtr(pack);
|
auto i = mindexPtr(pack);
|
||||||
//this->checkFormatCompatibility(toVec(i->deepFormat()));
|
this->checkFormatCompatibility(toVec(i->deepFormat()));
|
||||||
return oproot(*this, i);
|
return oproot(*this, i);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -240,7 +240,7 @@ namespace CNORXZ
|
||||||
inline decltype(auto) ArrayBase<T>::operator()(const DPack& pack)
|
inline decltype(auto) ArrayBase<T>::operator()(const DPack& pack)
|
||||||
{
|
{
|
||||||
auto i = yindexPtr(pack);
|
auto i = yindexPtr(pack);
|
||||||
//this->checkFormatCompatibility(toVec(i->deepFormat()));
|
this->checkFormatCompatibility(toVec(i->deepFormat()));
|
||||||
return oproot(*this, i);
|
return oproot(*this, i);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue