mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 09:06:45 +08:00
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 <mcostalba@gmail.com>
This commit is contained in:
@@ -1142,9 +1142,6 @@ namespace {
|
|||||||
search_pv(pos, ss, alpha, beta, depth-2*OnePly, ply, threadID);
|
search_pv(pos, ss, alpha, beta, depth-2*OnePly, ply, threadID);
|
||||||
ttMove = ss[ply].pv[ply];
|
ttMove = ss[ply].pv[ply];
|
||||||
tte = TT.retrieve(pos.get_key());
|
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
|
// Initialize a MovePicker object for the current position, and prepare
|
||||||
|
|||||||
Reference in New Issue
Block a user