From 303450d06827a73da06ed340119a9fe609ed3652 Mon Sep 17 00:00:00 2001 From: Christian Zimmermann Date: Sat, 9 Sep 2023 12:56:39 +0200 Subject: [PATCH] WIP: deepFormat + check format compatibility --- src/include/array/array_base.cc.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/include/array/array_base.cc.h b/src/include/array/array_base.cc.h index 4a668a5..f22864e 100644 --- a/src/include/array/array_base.cc.h +++ b/src/include/array/array_base.cc.h @@ -100,7 +100,7 @@ namespace CNORXZ template COpRoot CArrayBase::operator()(const Sptr& i) const { - //this->checkFormatCompatibility(toVec(i->deepFormat())); + this->checkFormatCompatibility(toVec(i->deepFormat())); return coproot(*this, i); } @@ -109,7 +109,7 @@ namespace CNORXZ inline decltype(auto) CArrayBase::operator()(const SPack& pack) const { auto i = mindexPtr(pack); - //this->checkFormatCompatibility(toVec(i->deepFormat())); + this->checkFormatCompatibility(toVec(i->deepFormat())); return coproot(*this, i); } @@ -117,7 +117,7 @@ namespace CNORXZ inline decltype(auto) CArrayBase::operator()(const DPack& pack) const { auto i = yindexPtr(pack); - //this->checkFormatCompatibility(toVec(i->deepFormat())); + this->checkFormatCompatibility(toVec(i->deepFormat())); return coproot(*this, i); } @@ -223,7 +223,7 @@ namespace CNORXZ template OpRoot ArrayBase::operator()(const Sptr& i) { - //this->checkFormatCompatibility(toVec(i->deepFormat())); + this->checkFormatCompatibility(toVec(i->deepFormat())); return oproot(*this, i); } @@ -232,7 +232,7 @@ namespace CNORXZ inline decltype(auto) ArrayBase::operator()(const SPack& pack) { auto i = mindexPtr(pack); - //this->checkFormatCompatibility(toVec(i->deepFormat())); + this->checkFormatCompatibility(toVec(i->deepFormat())); return oproot(*this, i); } @@ -240,7 +240,7 @@ namespace CNORXZ inline decltype(auto) ArrayBase::operator()(const DPack& pack) { auto i = yindexPtr(pack); - //this->checkFormatCompatibility(toVec(i->deepFormat())); + this->checkFormatCompatibility(toVec(i->deepFormat())); return oproot(*this, i); }