X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fsearch.cpp;h=43b850bd557efbe219f1972744a8f0ea5772af02;hb=a128faf0b0b6bd93dafbf2b6f6890dbc8d1e8d74;hp=5a2495d4fa65276ea618ccf1708d3c7bdff59166;hpb=ed2754227a53c38f2570dc92b731c83cf4e0e434;p=stockfish 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;