From: lucasart Date: Wed, 18 Mar 2015 14:10:13 +0000 (+0800) Subject: Fix comment X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=35b6079852ca2b1a12167e4b42b197501d2cc554;hp=ebf3735754d015dfda72930a676b8b43f0614086 Fix comment We always probe, but we do not prune at PV nodes. No functional change. Resolves #300 --- diff --git a/src/search.cpp b/src/search.cpp index cae89c6a..4c60359c 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -585,7 +585,7 @@ namespace { ss->ttMove = ttMove = RootNode ? RootMoves[PVIdx].pv[0] : ttHit ? tte->move() : MOVE_NONE; ttValue = ttHit ? value_from_tt(tte->value(), ss->ply) : VALUE_NONE; - // At non-PV nodes we check for a fail high/low. We don't probe at PV nodes + // At non-PV nodes we check for a fail high/low. We don't prune at PV nodes if ( !PvNode && ttHit && tte->depth() >= depth