1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 16:53:09 +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:
Joona Kiiski 2009-11-25 00:43:19 +02:00 committed by Marco Costalba
parent 2b6bc70f7b
commit 48246468f2

View file

@ -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();