checking for stop before history update | bench 684523
This commit is contained in:
1 parent
b9f8a5be5a
commit
be0ea7ba30
1 file changed
+1
@@ -278,6 +278,7 @@ SearchResults PVS(Board board, int depth, int alpha, int beta, int ply) {
|
||||
killerMoves[1][ply] = killerMoves[0][ply];
|
||||
killerMoves[0][ply] = currMove;
|
||||
|
||||
if (searchStopped) return 0;
|
||||
history.Update(board.sideToMove, currMove, depth * depth);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user