Skip to content

Commit

Permalink
Reduce singular extension margin
Browse files Browse the repository at this point in the history
  • Loading branch information
jnlt3 committed Aug 7, 2023
1 parent 37e67a3 commit cb4d5ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/bm/bm_search/search.rs
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ pub fn search<Search: SearchType>(
&& entry.depth() + 2 >= depth
&& matches!(entry.entry_type(), EntryType::LowerBound | EntryType::Exact)
{
let s_beta = entry.score() - depth as i16 * 2;
let s_beta = entry.score() - depth as i16;
local_context.search_stack_mut()[ply as usize].skip_move = Some(make_move);

let multi_cut = depth >= 5;
Expand Down
2 changes: 1 addition & 1 deletion src/bm/nnue/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ impl Nnue {
for sq in b_threats {
self.update::<true>(threat_indices(w_king, b_king, sq, Color::White));
}

let acc = &mut self.accumulator[self.head];
acc.w_input_layer.reset(*self.bias);
acc.b_input_layer.reset(*self.bias);
Expand Down

0 comments on commit cb4d5ed

Please sign in to comment.