summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/CuTNetLib/cuComponent.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CuTNetLib/cuComponent.h b/src/CuTNetLib/cuComponent.h
index a43680e..110cece 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
- virtual const CuMatrix<BaseFloat>& GetInput(int pos=0) {
+ const CuMatrix<BaseFloat>& GetInput(int pos=0) {
if (NULL == mpInput) Error("mpInput is NULL");
return *mpInput;
}