Skip to content

Commit

Permalink
bench: 1241996
Browse files Browse the repository at this point in the history
bench: 1241996
  • Loading branch information
FauziAkram authored Oct 22, 2023
1 parent b7b7800 commit a9d9ddf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/nnue/evaluate_nnue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,7 @@ bool save_eval(const std::optional<std::string>& filename) {

std::ofstream stream(actualFilename, std::ios_base::binary);
bool saved = save_eval(stream);
stream.close(); // Close the file stream

msg = saved ? "Network saved successfully to " + actualFilename : "Failed to export a net";

Expand Down

0 comments on commit a9d9ddf

Please sign in to comment.