Replace directory == "<internal>" with a simple "else"

Replace directory == "<internal>" with a simple "else" , since the previous condition was the opposite.

closes https://github.com/official-stockfish/Stockfish/pull/6817

No functional change
This commit is contained in:
FauziAkram
2026-05-17 20:45:39 +02:00
committed by Joost VandeVondele
parent 1cebdafc14
commit 57f3a2bfbe
+1 -6
View File
@@ -101,14 +101,9 @@ void Network::load(const std::string& rootDirectory, std::string evalfilePath) {
if (std::string(evalFile.current) != evalfilePath)
{
if (directory != "<internal>")
{
load_user_net(directory, evalfilePath);
}
if (directory == "<internal>" && evalfilePath == std::string(evalFile.defaultName))
{
else if (evalfilePath == std::string(evalFile.defaultName))
load_internal();
}
}
}
}