From: Marco Costalba Date: Sun, 12 Jun 2011 06:09:30 +0000 (+0100) Subject: Don't update_gains() in qsearch X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=aee75ae105fbdc05d4df55284053d20cc71c729a;hp=4b8a7f2793f0d7dd46d2804cd5f46ccdb080da12 Don't update_gains() in qsearch Is almost unuseful becuase captures are skipped. Signed-off-by: Marco Costalba --- diff --git a/src/search.cpp b/src/search.cpp index ec2b1c9c..c30fe92e 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1372,8 +1372,6 @@ split_point_start: // At split points actual search starts from here else ss->eval = bestValue = evaluate(pos, evalMargin); - update_gains(pos, (ss-1)->currentMove, (ss-1)->eval, ss->eval); - // Stand pat. Return immediately if static value is at least beta if (bestValue >= beta) {