]> git.sesse.net Git - stockfish/commit
Improve compatibility with Shredder Classic GUI
authorPascal Romaret <promaret75@gmail.com>
Mon, 27 Oct 2014 11:07:35 +0000 (11:07 +0000)
committerJoona Kiiski <joona.kiiski@gmail.com>
Mon, 27 Oct 2014 11:07:35 +0000 (11:07 +0000)
commitf1359845dee95df382f60da4f19068a122f95350
tree5b3cfbd4c82eff4b4877512076e45cb53ba564aa
parent5ab55827b84f1aef79478ec9b030330973036bda
Improve compatibility with Shredder Classic GUI

This commit fixes two issues:

1) Don't print PVs after the search has been interrupted

    This solves the "mate 0 upperbound" scores that sometimes
    creep up when a multi-PV analysis gets interrupted with
    the `stop` command.

2) Print multipv before score

    Shredder Classic fails to identify the main PV
    (the one with multipv 1) if `score` comes first.
    This leads to an eval graph that doesn't reflect
    the scores actually reported by Stockfish when
    doing a multiPV analysis.

No functional change

Closes #76
src/search.cpp