summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/CuTNetLib/cuCompDisc.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CuTNetLib/cuCompDisc.cc b/src/CuTNetLib/cuCompDisc.cc
index cb97639..e1dfef2 100644
--- a/src/CuTNetLib/cuCompDisc.cc
+++ b/src/CuTNetLib/cuCompDisc.cc
@@ -16,7 +16,7 @@ namespace TNet
mBlocks[inID[i].block]->SetInput(GetInput(i),inID[i].pos);
for (int i=0; i<mBlocks.size(); i++)
mBlocks[i]->Propagate();
- mErrorOutput.Init(GetOutput());
+ mOutput.Init(GetOutput());
}
void
@@ -34,7 +34,7 @@ namespace TNet
mBlocks[outID[i].block]->SetErrorInput(GetErrorInput(i),outID[i].pos);
for(int i=0; i<mBlocks.size(); i++)
mBlocks[i]->Backpropagate();
- mOutput.Init(GetOutput());
+ mErrorOutput.Init(GetErrorOutput());
}
void