mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 13:17:44 +00:00
Replace 100 with PLY_MAX in ok_to_use_TT
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
committed by
Marco Costalba
parent
bd618941ce
commit
0fc9d9ef61
+2
-2
@@ -2523,8 +2523,8 @@ namespace {
|
|||||||
Value v = value_from_tt(tte->value(), ply);
|
Value v = value_from_tt(tte->value(), ply);
|
||||||
|
|
||||||
return ( tte->depth() >= depth
|
return ( tte->depth() >= depth
|
||||||
|| v >= Max(value_mate_in(100), beta)
|
|| v >= Max(value_mate_in(PLY_MAX), beta)
|
||||||
|| v < Min(value_mated_in(100), beta))
|
|| v < Min(value_mated_in(PLY_MAX), beta))
|
||||||
|
|
||||||
&& ( (is_lower_bound(tte->type()) && v >= beta)
|
&& ( (is_lower_bound(tte->type()) && v >= beta)
|
||||||
|| (is_upper_bound(tte->type()) && v < beta));
|
|| (is_upper_bound(tte->type()) && v < beta));
|
||||||
|
|||||||
Reference in New Issue
Block a user