closing file

This commit is contained in:
Jakob Stornig 2023-09-21 10:22:43 +02:00
parent 8503687826
commit f10814c56c

View file

@ -122,6 +122,7 @@ Neural_Network* load_network(char* file) {
saved_network->weights_output = load_next_matrix(save_file); saved_network->weights_output = load_next_matrix(save_file);
// return saved network // return saved network
fclose(save_file);
return saved_network; return saved_network;
} }