]> git.sesse.net Git - stockfish/commitdiff
Use rml[0].pv[] instead of dedicated pv[] array
authorMarco Costalba <mcostalba@gmail.com>
Wed, 29 Dec 2010 07:47:14 +0000 (08:47 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Wed, 29 Dec 2010 08:22:30 +0000 (09:22 +0100)
We have a small functionality change in case we have a
fail-high so that both rml[].pv and pv[] are updated, but if,
after researching, we have a fail-low then rml score is updated
again but pv[] remains the same and coming back from search we
used a PV line that has failed-low (after having failed-high).

With this patch we always use the 'correct' PV line, i.e. the
line with highest score at the end of the whole search.

Retire also redundant RootMove's 'move' member and directly
use pv[0] instead.


No differences found