playing matches in datagen | bench 1857933
This commit is contained in:
1 parent
f4eeec2b4e
commit
649bee6490
4 files changed
+52
-43
No files matched your search
+3
-3
@@ -323,6 +323,9 @@ SearchResults PVS(Board board, int depth, int alpha, int beta, int ply) {
|
||||
score = -PVS<isPV, mode>(copy, newDepth, -beta, -alpha, ply + 1).score;
|
||||
}
|
||||
|
||||
moveSeen++;
|
||||
positionIndex--;
|
||||
|
||||
if (searchStopped) return 0;
|
||||
|
||||
if (currMove.IsQuiet()) {
|
||||
@@ -330,9 +333,6 @@ SearchResults PVS(Board board, int depth, int alpha, int beta, int ply) {
|
||||
seenQuietsCount++;
|
||||
}
|
||||
|
||||
moveSeen++;
|
||||
positionIndex--;
|
||||
|
||||
// Fail high (beta cutoff)
|
||||
if (score >= beta) {
|
||||
if (!currMove.IsCapture()) {
|
||||
|
||||
Reference in new issue
Block a user