renamed singular score variable | bench 26088050
This commit is contained in:
1 parent
efad38fb0f
commit
7887e04cc5
1 file changed
+2
-2
+2
-2
@@ -462,10 +462,10 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC
|
||||
const int sDepth = (depth - 1) / 2;
|
||||
|
||||
ctx->excluded = currMove;
|
||||
const int score = PVS<false, mode>(board, sDepth, sBeta-1, sBeta, ply, ctx, cutnode).score;
|
||||
const int singularScore = PVS<false, mode>(board, sDepth, sBeta-1, sBeta, ply, ctx, cutnode).score;
|
||||
ctx->excluded = Move();
|
||||
|
||||
if (score < sBeta)
|
||||
if (singularScore < sBeta)
|
||||
extension = 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user