mcostalba/Stockfish — pull request #20 by tsinnema (2012-08-04 15:06:53+00:00)
Title: Break from aspiration window loop when Signals.stop is true only after outputting pv info dump

Hello!

I noticed this thing when experimenting with nodes limits -- from reading the code, I got the impression that node limits would usually be exceeded, and only then would the search stop and the final info be reported. However in the stockfish uci output the nodes count was (nearly) always under the limit.

I made this change in case there is not an existing reason why the uci pv dump from the final iteration should not be posted.

I did note, afterwards, that the Search Log does get the final info but it would be nice to have it in the uci dump as well, if there's no obstacle.

Cheers!