summaryrefslogtreecommitdiff
path: root/src/brain/neural_link.cpp
diff options
context:
space:
mode:
authorJustin Worthe <justin.worthe@gmail.com>2015-08-01 22:50:00 +0200
committerJustin Worthe <justin.worthe@gmail.com>2015-08-01 22:50:00 +0200
commit2e6ecf423c8228ac8de4badf4fc2d037a876b7ff (patch)
tree82624e97a3d1ee47db05e320bf0014726f68c09d /src/brain/neural_link.cpp
parent1f40ce6f3c710d6339d2001a56f401b6a9dcd525 (diff)
Reading network from file
Diffstat (limited to 'src/brain/neural_link.cpp')
-rw-r--r--src/brain/neural_link.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/brain/neural_link.cpp b/src/brain/neural_link.cpp
index d217236..f8d2b29 100644
--- a/src/brain/neural_link.cpp
+++ b/src/brain/neural_link.cpp
@@ -1,7 +1,7 @@
#include "brain/neural_link.h"
-NeuralLink::NeuralLink(double weight)
- :_weight(weight)
+NeuralLink::NeuralLink(std::shared_ptr<NeuralNode> input, double weight)
+ :_input(input), _weight(weight)
{
}