mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 17:16:33 +08:00
Simplify captures ordering
A big simplification and removing of useless code. Finished at 50% both at short TC (with SPRT) than at long TC at fixed number of games: ELO: -0.14 +-3.4 (95%) LOS: 46.8% Total: 15206 W: 2836 L: 2842 D: 9528 bench: 5059948
This commit is contained in:
@@ -762,7 +762,7 @@ moves_loop: // When in check and at SpNode search starts from here
|
||||
Move countermoves[] = { Countermoves[pos.piece_on(prevMoveSq)][prevMoveSq].first,
|
||||
Countermoves[pos.piece_on(prevMoveSq)][prevMoveSq].second };
|
||||
|
||||
MovePicker mp(pos, ttMove, depth, History, countermoves, ss, PvNode ? -VALUE_INFINITE : beta);
|
||||
MovePicker mp(pos, ttMove, depth, History, countermoves, ss);
|
||||
CheckInfo ci(pos);
|
||||
value = bestValue; // Workaround a bogus 'uninitialized' warning under gcc
|
||||
singularExtensionNode = !RootNode
|
||||
|
||||
Reference in New Issue
Block a user