bugfix: was storing nullMoves in seenQuiets | bench 1293146 #60
+1
-1
@@ -343,7 +343,7 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC
|
|||||||
|
|
||||||
if (ctx.searchStopped) return 0;
|
if (ctx.searchStopped) return 0;
|
||||||
|
|
||||||
if (currMove.IsQuiet()) {
|
if (currMove != 0 && currMove.IsQuiet()) {
|
||||||
seenQuiets[seenQuietsCount] = currMove;
|
seenQuiets[seenQuietsCount] = currMove;
|
||||||
seenQuietsCount++;
|
seenQuietsCount++;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user