diff options
author | Joe Zhao <ztuowen@gmail.com> | 2014-10-06 15:37:59 +0800 |
---|---|---|
committer | Joe Zhao <ztuowen@gmail.com> | 2014-10-06 15:37:59 +0800 |
commit | 3974ae86996e500362948f203f9d4fa3adc259f6 (patch) | |
tree | 3297f8ea81e05b5aa5363bb4009736d8970ff789 | |
parent | 8478ded3f4784dd2bb074e69a209a8c9a47179d7 (diff) | |
download | tnet-3974ae86996e500362948f203f9d4fa3adc259f6.tar.gz tnet-3974ae86996e500362948f203f9d4fa3adc259f6.tar.bz2 tnet-3974ae86996e500362948f203f9d4fa3adc259f6.zip |
Virtual 7
-rw-r--r-- | src/CuTNetLib/cuComponent.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CuTNetLib/cuComponent.h b/src/CuTNetLib/cuComponent.h index 110cece..a43680e 100644 --- a/src/CuTNetLib/cuComponent.h +++ b/src/CuTNetLib/cuComponent.h @@ -124,7 +124,7 @@ namespace TNet { virtual int GetOutSect(){return 1;} /// IO Data getters - const CuMatrix<BaseFloat>& GetInput(int pos=0) { + virtual const CuMatrix<BaseFloat>& GetInput(int pos=0) { if (NULL == mpInput) Error("mpInput is NULL"); return *mpInput; } |