Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Commit

Permalink
closing file f_in in ffm-predict.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
vitobellini authored and ycjuan committed Jun 10, 2017
1 parent 0271623 commit 26c13b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ffm-predict.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ void predict(string test_path, string model_path, string output_path) {
loss /= i;

cout << "logloss = " << fixed << setprecision(5) << loss << endl;

fclose(f_in);
}

int main(int argc, char **argv) {
Expand Down

0 comments on commit 26c13b2

Please sign in to comment.