]> git.sesse.net Git - stockfish/commit
Be clear about not LMR the ttMove
authorMarco Costalba <mcostalba@gmail.com>
Sun, 3 Feb 2013 10:14:21 +0000 (11:14 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sun, 3 Feb 2013 10:14:21 +0000 (11:14 +0100)
commit6560e4cc5b3da33c16a2a3290bbb3697f6c69b00
tree761edd5d05fc1d49237e73a6d8b835ec9aaa489c
parent08d615cc9500713d89bd20dd0963258932abf627
Be clear about not LMR the ttMove

Currently a ttMove is reduced with ss->reduction = DEPTH_ZERO,
so it is actually not reduced (as it should be), but the
trick works just becuase it happens that ttMove is the first
to be tried and

reduction(depth, 1)

Always returns zero. So explicitly forbid reduction of ttMove
in the LMR condition. This is much clear and self-documented.

No functional change.
src/search.cpp