From a128faf0b0b6bd93dafbf2b6f6890dbc8d1e8d74 Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Sat, 5 Jun 2010 18:04:58 +0100 Subject: [PATCH] Remove a wrong FIXME If we are there it means we already had that info stored in TT, so we don't need to overwrite with the same content ! No functional change. Signed-off-by: Marco Costalba --- src/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search.cpp b/src/search.cpp index 5a2495d4..43b850bd 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1534,7 +1534,7 @@ namespace { // Stand pat. Return immediately if static value is at least beta if (bestValue >= beta) { - if (!tte) // FIXME, remove condition + if (!tte) TT.store(pos.get_key(), value_to_tt(bestValue, ply), VALUE_TYPE_LOWER, Depth(-127*OnePly), MOVE_NONE, ss->eval, ei.kingDanger[pos.side_to_move()]); return bestValue; -- 2.39.2