From 49686d5e48d067298205e8f4bfc482dec60f36df Mon Sep 17 00:00:00 2001 From: Martin Beseda <martin.beseda@vsb.cz> Date: Sun, 30 Dec 2018 00:45:07 +0100 Subject: [PATCH] FIX: Fixed error messages. --- src/Network/NeuralNetwork.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Network/NeuralNetwork.cpp b/src/Network/NeuralNetwork.cpp index ac4caafc..ee9fb473 100644 --- a/src/Network/NeuralNetwork.cpp +++ b/src/Network/NeuralNetwork.cpp @@ -465,14 +465,14 @@ namespace lib4neuro { THROW_INVALID_ARGUMENT_ERROR("Input and output neurons have not been specified!"); } - if (this->input_neuron_indices->size() != input.size()) { - THROW_INVALID_ARGUMENT_ERROR("Error: input size != Network input size"); + THROW_INVALID_ARGUMENT_ERROR("Data input size != Network input size"); } if (this->output_neuron_indices->size() != output.size()) { - THROW_INVALID_ARGUMENT_ERROR("Error: output size != Network output size"); + THROW_INVALID_ARGUMENT_ERROR("Data output size != Network output size"); } + double potential, bias; int bias_idx; -- GitLab