mirror of
https://github.com/official-stockfish/Stockfish.git
synced 2026-07-22 12:47:08 +00:00
Fix calculation of searched nodes (effort)
by moving it back to its original place right before making the move. See the original patch https://github.com/official-stockfish/Stockfish/commit/bf2c7306ac7f83200ba4d894867e3c0c78c0802c Only functional with active time-management. closes https://github.com/official-stockfish/Stockfish/pull/6810 No functional change
This commit is contained in:
committed by
Joost VandeVondele
parent
bcd5b6ccb3
commit
944bee7117
+2
-1
@@ -1217,12 +1217,13 @@ moves_loop: // When in check, search starts here
|
||||
extension = -2;
|
||||
}
|
||||
|
||||
uint64_t nodeCount = rootNode ? uint64_t(nodes) : 0;
|
||||
|
||||
// Step 16. Make the move
|
||||
do_move(pos, move, st, givesCheck, ss);
|
||||
|
||||
// Add extension to new depth
|
||||
newDepth += extension;
|
||||
uint64_t nodeCount = rootNode ? uint64_t(nodes) : 0;
|
||||
|
||||
// Decrease reduction for PvNodes (*Scaler)
|
||||
if (ss->ttPv)
|
||||
|
||||
Reference in New Issue
Block a user