Datagen #46

Merged
rektdie merged 27 commits from datagen into main 2025-04-03 03:54:14 +02:00
Showing only changes of commit 656d71dd5d - Show all commits
+2 -2
View File
@@ -150,7 +150,7 @@ static SearchResults Quiescence(Board board, int alpha, int beta, int ply) {
} }
} }
} else { } else {
if (nodes >= nodesToGo) { if (nodes > nodesToGo) {
StopSearch(); StopSearch();
return 0; return 0;
} }
@@ -219,7 +219,7 @@ SearchResults PVS(Board board, int depth, int alpha, int beta, int ply) {
} }
} }
} else if constexpr (mode == nodesMode) { } else if constexpr (mode == nodesMode) {
if (nodes >= nodesToGo) { if (nodes > nodesToGo) {
StopSearch(); StopSearch();
return 0; return 0;
} }