From: Marco Costalba Date: Sun, 27 Dec 2009 12:54:46 +0000 (+0100) Subject: Remove a bogus assert X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=aa86d81f79a92a5a050f73e1443190e53aa9f2ed 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 --- 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