fixed fclose typo/bug

This commit is contained in:
Lewis Van Winkle 2018-07-06 10:28:11 -05:00
parent 033618b1f5
commit b802e1e0b5
1 changed files with 1 additions and 1 deletions

2
test.c
View File

@ -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);