diff options
author | Justin Worthe <justin.worthe@gmail.com> | 2015-09-06 13:45:56 +0200 |
---|---|---|
committer | Justin Worthe <justin.worthe@gmail.com> | 2015-09-06 13:45:56 +0200 |
commit | a515cb497c109a533d73475be8ea6df6bdeafd96 (patch) | |
tree | d719baffaf6dc697a9bc35a31a882c1fb67f6467 /src/brain/neural_network.cpp | |
parent | 84d9333a4ac4b9d60dc9b525b8006456d6f614dc (diff) |
Removed some buildings made network more efficient
Also decreased number of sensors.
Diffstat (limited to 'src/brain/neural_network.cpp')
-rw-r--r-- | src/brain/neural_network.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/brain/neural_network.cpp b/src/brain/neural_network.cpp index 64d6979..bacdbed 100644 --- a/src/brain/neural_network.cpp +++ b/src/brain/neural_network.cpp @@ -84,7 +84,7 @@ void NeuralNetwork::parseFile(std::istream &&file) void NeuralNetwork::addLink(std::shared_ptr<NeuralNode> source, std::shared_ptr<Neuron> destination, double weight) { - NeuralLink link(source, weight); + NeuralLink link(source.get(), weight); destination->addInput(std::move(link)); } |