diff options
-rw-r--r-- | src/CuTNetLib/cuCompDisc.h | 3 | ||||
-rw-r--r-- | src/CuTNetLib/cuMisc.h | 4 |
2 files changed, 2 insertions, 5 deletions
diff --git a/src/CuTNetLib/cuCompDisc.h b/src/CuTNetLib/cuCompDisc.h index b71956e..b6876c8 100644 --- a/src/CuTNetLib/cuCompDisc.h +++ b/src/CuTNetLib/cuCompDisc.h @@ -133,10 +133,7 @@ namespace TNet { CuComponent* FindOutput(int &pos) { if (pos<0 or pos>=outID.size()) - { - std::cout<<"pos"<<mBlocks[0]->GetOutSect()<<std::endl; Error("Position out of bound"); - } int i=pos; pos=outID[i].pos; return mBlocks[outID[i].block]; diff --git a/src/CuTNetLib/cuMisc.h b/src/CuTNetLib/cuMisc.h index 319f678..8831622 100644 --- a/src/CuTNetLib/cuMisc.h +++ b/src/CuTNetLib/cuMisc.h @@ -227,7 +227,7 @@ namespace TNet { mErrorOutput.Init(*mpErrorInput); } - int GetInSect() const + int GetInSect() { return size; } @@ -372,7 +372,7 @@ namespace TNet { const char* GetName() const { return "<merge>"; } - int GetInSect() const + int GetInSect() { return size; } |