From 2486c6e5ceb458b6df14c8353a57c427a07fc6d0 Mon Sep 17 00:00:00 2001 From: Martin Beseda <martinbeseda@seznam.cz> Date: Fri, 7 Sep 2018 12:05:20 +0200 Subject: [PATCH] FIX: Fixed relative paths to headers, so it isn't neccessary anymore to include SRC_DIR when compiling examples / independent apps, which only use lib4neuro. --- src/LearningMethods/ParticleSwarm.h | 6 +++--- src/Network/NeuralNetwork.h | 14 +++++++------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/LearningMethods/ParticleSwarm.h b/src/LearningMethods/ParticleSwarm.h index f8518f6a..a68ec0fa 100644 --- a/src/LearningMethods/ParticleSwarm.h +++ b/src/LearningMethods/ParticleSwarm.h @@ -19,9 +19,9 @@ #include <iterator> #include <algorithm> -#include "../src/Network/NeuralNetwork.h" -#include "../src/DataSet/DataSet.h" -#include "../src/ErrorFunction/ErrorFunctions.h" +#include "../Network/NeuralNetwork.h" +#include "../DataSet/DataSet.h" +#include "../ErrorFunction/ErrorFunctions.h" class Particle{ diff --git a/src/Network/NeuralNetwork.h b/src/Network/NeuralNetwork.h index bcf9afd0..7381ccd9 100644 --- a/src/Network/NeuralNetwork.h +++ b/src/Network/NeuralNetwork.h @@ -32,13 +32,13 @@ #include <boost/serialization/vector.hpp> #include <boost/serialization/utility.hpp> -#include "../src/Neuron/Neuron.h" -#include "../src/Neuron/NeuronConstant.h" -#include "../src/Neuron/NeuronBinary.h" -#include "../src/Neuron/NeuronLinear.h" -#include "../src/Neuron/NeuronLogistic.h" -#include "../src/NetConnection/ConnectionFunctionGeneral.h" -#include "../src/NetConnection/ConnectionFunctionIdentity.h" +#include "../Neuron/Neuron.h" +#include "../Neuron/NeuronConstant.h" +#include "../Neuron/NeuronBinary.h" +#include "../Neuron/NeuronLinear.h" +#include "../Neuron/NeuronLogistic.h" +#include "../NetConnection/ConnectionFunctionGeneral.h" +#include "../NetConnection/ConnectionFunctionIdentity.h" -- GitLab