From 7887e04cc5c160b76636e9ad6ef5f48d1f7a122e Mon Sep 17 00:00:00 2001 From: rektdie Date: Tue, 29 Jul 2025 03:18:40 +0200 Subject: [PATCH] renamed singular score variable | bench 26088050 --- source/search.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/search.cpp b/source/search.cpp index 124448e..929938f 100644 --- a/source/search.cpp +++ b/source/search.cpp @@ -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(board, sDepth, sBeta-1, sBeta, ply, ctx, cutnode).score; + const int singularScore = PVS(board, sDepth, sBeta-1, sBeta, ply, ctx, cutnode).score; ctx->excluded = Move(); - if (score < sBeta) + if (singularScore < sBeta) extension = 1; }