From: Marco Costalba Date: Wed, 29 Dec 2010 07:47:14 +0000 (+0100) Subject: Use rml[0].pv[] instead of dedicated pv[] array X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=d2a4aac53d8eb2cf21e0b8f1154412b1edd5afae;hp=d2a4aac53d8eb2cf21e0b8f1154412b1edd5afae Use rml[0].pv[] instead of dedicated pv[] array 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. ---