mirror of https://github.com/codeplea/genann
fixed fclose typo/bug
This commit is contained in:
parent
033618b1f5
commit
b802e1e0b5
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);
|
||||||
|
|
Loading…
Reference in New Issue