Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/search.rs
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,8 @@ pub fn search<Node: NodeType>(
r += 1270 * cutnode as i32;
r += 1984 * (cutnode && tt_move.is_none()) as i32;
r -= 1240 * tt_was_pv as i32;
r -= 600 * (tt_pv && tt_score.is_some_and(|s| s > alpha)) as i32;
r -= 600 * (tt_pv && tt_depth.is_some_and(|d| d >= depth)) as i32;
r -= 859 * is_direct_check as i32;
r += 202 * !improving as i32;
r += 474 * (tt_score.is_some_and(|s| s <= alpha)) as i32;
Expand Down
Loading