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

[FIX] Removed explicit calls to init_from_file() and replaced with using a...

[FIX] Removed explicit calls to init_from_file() and replaced with using a NeuralNetwork constructor instead.
parent 15691fa9
No related branches found
No related tags found
No related merge requests found
......@@ -9,9 +9,9 @@
#include "ACSFNeuralNetwork.h"
#include "../ErrorFunction/ErrorFunctions.h"
void lib4neuro::ACSFNeuralNetwork::load_structure_from_file(const std::string& filepath){
this->init_from_file( filepath );
}
//void lib4neuro::ACSFNeuralNetwork::load_structure_from_file(const std::string& filepath){
// this->init_from_file( filepath );
//}
lib4neuro::ACSFNeuralNetwork::ACSFNeuralNetwork(std::unordered_map<ELEMENT_SYMBOL, Element*>& elements,
std::vector<ELEMENT_SYMBOL>& elements_list,
......
......@@ -37,7 +37,7 @@ namespace lib4neuro {
LIB4NEURO_API explicit ACSFNeuralNetwork(std::string filepath);
[[deprecated]] LIB4NEURO_API void load_structure_from_file(const std::string& filepath );
// [[deprecated]] LIB4NEURO_API void load_structure_from_file(const std::string& filepath );
LIB4NEURO_API std::unordered_map<ELEMENT_SYMBOL, Element*>* get_elements();
......
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