mirror of
https://github.com/codeplea/genann.git
synced 2025-10-03 08:42:44 +00:00
fixed fclose typo/bug
This commit is contained in:
2
test.c
2
test.c
@@ -203,7 +203,7 @@ void persist() {
|
|||||||
|
|
||||||
FILE *in = fopen("persist.txt", "r");
|
FILE *in = fopen("persist.txt", "r");
|
||||||
genann *second = genann_read(in);
|
genann *second = genann_read(in);
|
||||||
fclose(out);
|
fclose(in);
|
||||||
|
|
||||||
lequal(first->inputs, second->inputs);
|
lequal(first->inputs, second->inputs);
|
||||||
lequal(first->hidden_layers, second->hidden_layers);
|
lequal(first->hidden_layers, second->hidden_layers);
|
||||||
|
Reference in New Issue
Block a user