bugfix in PVS | bench 3232696
This commit is contained in:
1 parent
5585d44615
commit
77b81516d9
1 file changed
+1
-1
+1
-1
@@ -268,7 +268,7 @@ SearchResults PVS(Board board, int depth, int alpha, int beta, int ply) {
|
||||
int newDepth = depth + board.InCheck() - 1;
|
||||
|
||||
// First move (suspected PV node)
|
||||
if (!i) {
|
||||
if (!moveSeen) {
|
||||
// Full search
|
||||
score = -PVS<isPV>(copy, newDepth, -beta, -alpha, ply + 1).score;
|
||||
} else if (reductions) {
|
||||
|
||||
Reference in new issue
Block a user