mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 05:07:46 +00:00
Small cleanups 13
No functional change
This commit is contained in:
@@ -247,7 +247,7 @@ namespace Eval::NNUE {
|
||||
// Look for a usable accumulator of an earlier position. We keep track
|
||||
// of the estimated gain in terms of features to be added/subtracted.
|
||||
StateInfo *st = pos.state(), *next = nullptr;
|
||||
int gain = popcount(pos.pieces()) - 2;
|
||||
int gain = pos.count<ALL_PIECES>() - 2;
|
||||
while (st->accumulator.state[c] == EMPTY)
|
||||
{
|
||||
auto& dp = st->dirtyPiece;
|
||||
|
||||
Reference in New Issue
Block a user