diff options
author | Joe Zhao <ztuowen@gmail.com> | 2014-10-08 00:25:32 +0800 |
---|---|---|
committer | Joe Zhao <ztuowen@gmail.com> | 2014-10-08 00:25:32 +0800 |
commit | 6867355de7bf102d8367821f3839544ba649dffa (patch) | |
tree | 4d607336cc8ca7d5b073cd1a03c9307295686fd3 | |
parent | 59db999fe9ee21076451ae0924c817eab7f5b51d (diff) | |
download | tnet-6867355de7bf102d8367821f3839544ba649dffa.tar.gz tnet-6867355de7bf102d8367821f3839544ba649dffa.tar.bz2 tnet-6867355de7bf102d8367821f3839544ba649dffa.zip |
output 1+++++++++++
-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; } |