Skip to content
Merged
Show file tree
Hide file tree
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: 1 addition & 1 deletion src/history.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ constexpr i32 HISTORY_MAX = 16384;
constexpr u64 CORRECTION_HISTORY_ENTRY_NB = 16384;
constexpr i32 CORRECTION_HISTORY_GRAIN = 256;
constexpr i32 CORRECTION_HISTORY_WEIGHT_SCALE = 256;
constexpr i32 CORRECTION_HISTORY_MAX = CORRECTION_HISTORY_GRAIN * 32;
constexpr i32 CORRECTION_HISTORY_MAX = CORRECTION_HISTORY_GRAIN * 64;

namespace Search {
struct Stack;
Expand Down
2 changes: 1 addition & 1 deletion src/search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1089,7 +1089,7 @@ Value Worker::search(
&& !(best_move != Move::none() && (best_move.is_capture() || best_move.is_promotion()))
&& !((bound == Bound::Lower && best_value <= ss->static_eval)
|| (bound == Bound::Upper && best_value >= ss->static_eval))) {
m_td.history.update_correction_history(pos, depth, best_value - raw_eval);
m_td.history.update_correction_history(pos, depth, best_value - ss->static_eval);
}
}

Expand Down
Loading