Skip to content
Snippets Groups Projects
Commit 57ce5135 authored by Martin Beseda's avatar Martin Beseda
Browse files

[FIX] Fixed compilation

parent c68eaab8
No related branches found
No related tags found
No related merge requests found
......@@ -4,12 +4,7 @@
//TODO make only public interface visible
#include "../src/constants.h"
#include "../src/message.h"
#include "../src/settings.h"
#include "../src/exceptions.h"
#include "../src/mpi_wrapper.h"
#include "../src/DataSet/DataSet.h"
#include "../src/Network/NeuralNetwork.h"
#include "../src/Network/NeuralNetworkSum.h"
......
......@@ -57,11 +57,11 @@ SET_TARGET_PROPERTIES(
INCLUDE_DIRECTORIES ${ROOT_DIR}/include
)
#TARGET_INCLUDE_DIRECTORIES(
# net_test_3
# PRIVATE
# ${Boost_INCLUDE_DIRS}
#)
TARGET_INCLUDE_DIRECTORIES(
net_test_3
PRIVATE
${Boost_INCLUDE_DIRS}
)
TARGET_INCLUDE_DIRECTORIES(
dev_sandbox
......
......@@ -75,7 +75,7 @@ double optimize_via_gradient_descent(l4n::NeuralNetwork& net,
/* ERROR CALCULATION */
double err = ef.eval(nullptr);
COUT_INFO("Run finished! Error of the network[Gradient descent]: " << err );
std::cout << "Run finished! Error of the network[Gradient descent]: " << err << std::endl;
/* Just for validation test purposes - NOT necessary for the example to work! */
return err;
......@@ -179,7 +179,7 @@ int main() {
l4n::XYZReader reader("../../data/HE4+T0_000050.xyz", true);
reader.read();
COUT_INFO( "Finished reading data" );
std::cout << ( "Finished reading data" );
std::shared_ptr<l4n::DataSet> ds = reader.get_acsf_data_set( elements );
// ds->print_data();
......
......@@ -5,7 +5,7 @@
#include <vector>
#include <iostream>
#include <4neuro_public.h>
#include <4neuro.h>
void optimize_via_particle_swarm(l4n::NeuralNetwork& net,
l4n::ErrorFunction& ef) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment