Merge pull request #43 from rektdie/check_extension_fix
check extension fix | bench 2953196
This commit was merged in pull request #43.
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -265,7 +265,7 @@ SearchResults PVS(Board board, int depth, int alpha, int beta, int ply) {
|
|||||||
|
|
||||||
int reductions = GetReductions(board, currMove, depth, moveSeen, ply);
|
int reductions = GetReductions(board, currMove, depth, moveSeen, ply);
|
||||||
|
|
||||||
int newDepth = depth + board.InCheck() - 1;
|
int newDepth = depth + copy.InCheck() - 1;
|
||||||
|
|
||||||
// First move (suspected PV node)
|
// First move (suspected PV node)
|
||||||
if (!moveSeen) {
|
if (!moveSeen) {
|
||||||
|
|||||||
Reference in new issue
Block a user