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

Commit 26c13b2

Browse files
vitobelliniycjuan
authored andcommitted
closing file f_in in ffm-predict.cpp
1 parent 0271623 commit 26c13b2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ffm-predict.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ void predict(string test_path, string model_path, string output_path) {
8686
loss /= i;
8787

8888
cout << "logloss = " << fixed << setprecision(5) << loss << endl;
89+
90+
fclose(f_in);
8991
}
9092

9193
int main(int argc, char **argv) {

0 commit comments

Comments
 (0)