mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 12:07:43 +00:00
Add info string when loading/failing to load an eval file.
This commit is contained in:
@@ -77,7 +77,14 @@ namespace Eval {
|
|||||||
{
|
{
|
||||||
ifstream stream(directory + eval_file, ios::binary);
|
ifstream stream(directory + eval_file, ios::binary);
|
||||||
if (load_eval(eval_file, stream))
|
if (load_eval(eval_file, stream))
|
||||||
|
{
|
||||||
|
sync_cout << "info string Loaded eval file " << directory + eval_file << sync_endl;
|
||||||
eval_file_loaded = eval_file;
|
eval_file_loaded = eval_file;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
sync_cout << "info string ERROR: failed to load eval file " << directory + eval_file << sync_endl;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user