From e63ab4bd0342be592e2490699e9e97ffccf7e0af Mon Sep 17 00:00:00 2001 From: Joona Kiiski Date: Wed, 12 May 2010 14:46:54 +0300 Subject: [PATCH] Document old test result Signed-off-by: Marco Costalba --- src/search.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/search.cpp b/src/search.cpp index 36ed82f2..decd51ce 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1283,7 +1283,9 @@ namespace { continue; // Value based pruning - Depth predictedDepth = newDepth - reduction(depth, moveCount); // FIXME We illogically ignore reduction condition depth >= 3*OnePly + // We illogically ignore reduction condition depth >= 3*OnePly for predicted depth, + // but fixing this made program slightly weaker. + Depth predictedDepth = newDepth - reduction(depth, moveCount); futilityValueScaled = ss[ply].eval + futility_margin(predictedDepth, moveCount) + H.gain(pos.piece_on(move_from(move)), move_to(move)); -- 2.39.2