mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 02:47:45 +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:
committed by
Joost VandeVondele
parent
282644f141
commit
64f21ecdae
@@ -234,7 +234,7 @@ namespace Stockfish::Eval::NNUE {
|
|||||||
{
|
{
|
||||||
buffer[1] = '0' + cp / 10000; cp %= 10000;
|
buffer[1] = '0' + cp / 10000; cp %= 10000;
|
||||||
buffer[2] = '0' + cp / 1000; cp %= 1000;
|
buffer[2] = '0' + cp / 1000; cp %= 1000;
|
||||||
buffer[3] = '0' + cp / 100; cp %= 100;
|
buffer[3] = '0' + cp / 100;
|
||||||
buffer[4] = ' ';
|
buffer[4] = ' ';
|
||||||
}
|
}
|
||||||
else if (cp >= 1000)
|
else if (cp >= 1000)
|
||||||
|
|||||||
Reference in New Issue
Block a user