From 35b6079852ca2b1a12167e4b42b197501d2cc554 Mon Sep 17 00:00:00 2001 From: lucasart Date: Wed, 18 Mar 2015 22:10:13 +0800 Subject: [PATCH 1/1] Fix comment We always probe, but we do not prune at PV nodes. No functional change. Resolves #300 --- src/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2