1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-06-27 16:09:52 +00:00

Small clean-up

remove unneeded calculation.

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

No functional change.
This commit is contained in:
hengyu 2021-11-26 18:25:03 +08:00 committed by Joost VandeVondele
parent 282644f141
commit 64f21ecdae

View file

@ -234,7 +234,7 @@ namespace Stockfish::Eval::NNUE {
{
buffer[1] = '0' + cp / 10000; cp %= 10000;
buffer[2] = '0' + cp / 1000; cp %= 1000;
buffer[3] = '0' + cp / 100; cp %= 100;
buffer[3] = '0' + cp / 100;
buffer[4] = ' ';
}
else if (cp >= 1000)