]> git.sesse.net Git - stockfish/commitdiff
Fix null reduction formula
authorMarco Costalba <mcostalba@gmail.com>
Mon, 27 Jan 2014 06:36:26 +0000 (07:36 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Mon, 27 Jan 2014 07:18:48 +0000 (08:18 +0100)
Depth is already dependent on the actual value
of ONE_PLY, in particular can be expressed like:

Depth = n * ONE_PLY

And because formula is used to calculate R that is
also dependent on the value of ONE_PLY and can be
expressed like:

R = x * ONE_PLY

We don't want to divide depth by a 'ply' value but
directly by an integer number.

Spotted by sf-x

No functional change.


No differences found