Use a constant instead of value_mate_in(PLY_MAX)

And also apply the same to value_mated_in(PLY_MAX)

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2011-04-01 14:35:39 +02:00
parent b27e237b04
commit 408fdcc93f
3 changed files with 20 additions and 15 deletions

View File

@@ -23,8 +23,6 @@
#include "move.h"
#include "types.h"
const int PLY_MAX = 100;
const int PLY_MAX_PLUS_2 = PLY_MAX + 2;
/// The SearchStack struct keeps track of the information we need to remember
/// from nodes shallower and deeper in the tree during the search. Each