mirror of
https://github.com/sockspls/badfish
synced 2025-05-01 09:13:08 +00:00
Remove 2 FIXMEs from search.cpp
* First one is without any documentation, code is working just fine, so there seems to be nothing that really should be fixed. * Second one requesting emergency measures on aspiration fail low when we are running out of time and we are without good move. After very long time, I've come to conclusion that this is impossible to fix, so remove request. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
2b6bc70f7b
commit
48246468f2
1 changed files with 1 additions and 2 deletions
|
@ -802,7 +802,6 @@ namespace {
|
|||
|
||||
if (stopSearch)
|
||||
{
|
||||
//FIXME: Implement fail-low emergency measures
|
||||
if (!PonderSearch)
|
||||
break;
|
||||
else
|
||||
|
@ -2119,7 +2118,7 @@ namespace {
|
|||
moves[count].score = -qsearch(pos, ss, -VALUE_INFINITE, VALUE_INFINITE, Depth(0), 1, 0);
|
||||
pos.undo_move(moves[count].move);
|
||||
moves[count].pv[0] = moves[count].move;
|
||||
moves[count].pv[1] = MOVE_NONE; // FIXME
|
||||
moves[count].pv[1] = MOVE_NONE;
|
||||
count++;
|
||||
}
|
||||
sort();
|
||||
|
|
Loading…
Add table
Reference in a new issue