From aa86d81f79a92a5a050f73e1443190e53aa9f2ed Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Sun, 27 Dec 2009 13:54:46 +0100 Subject: [PATCH] Remove a bogus assert It is not clear why is not true, even in single thread case, but as a matter of fact it is not! So remove it. Signed-off-by: Marco Costalba --- src/search.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/search.cpp b/src/search.cpp index 409ad20a..dd9e45b9 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1142,9 +1142,6 @@ namespace { search_pv(pos, ss, alpha, beta, depth-2*OnePly, ply, threadID); ttMove = ss[ply].pv[ply]; tte = TT.retrieve(pos.get_key()); - - // If tte->move() != MOVE_NONE then it equals ttMove - assert(!(tte && tte->move()) || tte->move() == ttMove); } // Initialize a MovePicker object for the current position, and prepare -- 2.39.2