1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-05-01 01:03:09 +00:00

Add a FIXME on the odd probe_ab()

Given a position probe_ab() does a kind of qsearch,
but instead of evaluating the position at the begin,
through a table look up, it performs a depth-first
search and only at the end checks for current position
score.
This commit is contained in:
Marco Costalba 2016-04-24 11:47:59 +02:00
parent d434fc465b
commit 9bf2a9f842

View file

@ -1713,7 +1713,7 @@ WDLScore probe_ab(Position& pos, WDLScore alpha, WDLScore beta, int *success)
}
}
value = probe_wdl_table(pos, success);
value = probe_wdl_table(pos, success); // FIXME why this is not at the beginning?
if (*success == 0)
return WDLDraw;