mirror of
https://github.com/sockspls/badfish
synced 2025-05-01 09:13:08 +00:00
Standardize stat penalty
STC: LLR: 2.95 (-2.94,2.94) [-3.00,1.00] Total: 90631 W: 16325 L: 16323 D: 57983 LTC: LLR: 2.96 (-2.94,2.94) [-3.00,1.00] Total: 97679 W: 12779 L: 12759 D: 72141 Bench: 6340591 Closes #1053
This commit is contained in:
parent
ebe021f6a5
commit
35b77b120e
1 changed files with 3 additions and 3 deletions
|
@ -97,8 +97,8 @@ namespace {
|
||||||
Move best = MOVE_NONE;
|
Move best = MOVE_NONE;
|
||||||
};
|
};
|
||||||
|
|
||||||
// EasyMoveManager structure is used to detect an 'easy move'. When the PV is
|
// EasyMoveManager structure is used to detect an 'easy move'. When the PV is stable
|
||||||
// stable across multiple search iterations, we can quickly return the best move.
|
// across multiple search iterations, we can quickly return the best move.
|
||||||
struct EasyMoveManager {
|
struct EasyMoveManager {
|
||||||
|
|
||||||
void clear() {
|
void clear() {
|
||||||
|
@ -635,7 +635,7 @@ namespace {
|
||||||
// Penalty for a quiet ttMove that fails low
|
// Penalty for a quiet ttMove that fails low
|
||||||
else if (!pos.capture_or_promotion(ttMove))
|
else if (!pos.capture_or_promotion(ttMove))
|
||||||
{
|
{
|
||||||
Value penalty = -stat_bonus(depth + ONE_PLY);
|
Value penalty = -stat_bonus(depth);
|
||||||
thisThread->history.update(pos.side_to_move(), ttMove, penalty);
|
thisThread->history.update(pos.side_to_move(), ttMove, penalty);
|
||||||
update_cm_stats(ss, pos.moved_piece(ttMove), to_sq(ttMove), penalty);
|
update_cm_stats(ss, pos.moved_piece(ttMove), to_sq(ttMove), penalty);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue