]> git.sesse.net Git - stockfish/commitdiff
Use DEPTH_MAX instead of MAX_PLY
authorMarco Costalba <mcostalba@gmail.com>
Sat, 15 Nov 2014 04:36:49 +0000 (05:36 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 15 Nov 2014 04:36:49 +0000 (05:36 +0100)
When comparing to a Depth it is more
consistent to use DEPTH_MAX instead
of a int.

This is a subtle difference because we use
ply and depth almost interchangably in SF,
but they are different. FOr counting plies
makes ense to continue using ints, while
for Depth we have our specific enum.

This cleanly fixes a new Clang 3.5 warning:

No functional change.


No differences found