]> git.sesse.net Git - stockfish/commit
Use sp->master instead of bestThread
authorMarco Costalba <mcostalba@gmail.com>
Sat, 21 Feb 2015 09:40:59 +0000 (10:40 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 21 Feb 2015 09:40:59 +0000 (10:40 +0100)
commite74c2df907d5336d3d2b8ee7748b82270ebbf337
tree2f93a075832420b5d721d39efd3e54529ec1400b
parent7ff965eebfbc17d2bb4be9c64d56fecf68615010
Use sp->master instead of bestThread

Verified with:

dbg_hit_on(th != sp->master);

It is 100% equivalent on more than 200K hits.

No functional change.
src/search.cpp