]> git.sesse.net Git - stockfish/commitdiff
Remove a bogus assert
authorMarco Costalba <mcostalba@gmail.com>
Sun, 27 Dec 2009 12:54:46 +0000 (13:54 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sun, 27 Dec 2009 12:54:46 +0000 (13:54 +0100)
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 <mcostalba@gmail.com>
src/search.cpp

index 409ad20afca6c2bea6f64cdea1b4566975bcb395..dd9e45b92e33b3ad606b6c10a40294fa77349058 100644 (file)
@@ -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