mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-18 16:16:23 +08:00
Remove InfiniteSearch hack
With current search control system, I can see absolutely no reason to classify fixed time search as infinite search. So remove old dated hack Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
committed by
Marco Costalba
parent
87303d7ed3
commit
d0daa16769
@@ -299,9 +299,6 @@ namespace {
|
||||
}
|
||||
}
|
||||
|
||||
if (moveTime)
|
||||
infinite = true; // HACK
|
||||
|
||||
assert(RootPosition.is_ok());
|
||||
|
||||
return think(RootPosition, infinite, ponder, RootPosition.side_to_move(),
|
||||
|
||||
Reference in New Issue
Block a user