aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2023-09-03 20:09:08 +0300
committereug-vs <eugene@eug-vs.xyz>2023-09-03 20:09:08 +0300
commit269a7383a5d11ca481c037c261459d0f0cb67013 (patch)
tree944cc114ae2fa16231b516e9533035eab407d86e
parente2934b95cbad65bc89cbc285c3ece2124bf44a55 (diff)
downloadchessnost-269a7383a5d11ca481c037c261459d0f0cb67013.tar.gz
feat: increase move_selectors array for moves >128
-rw-r--r--src/grossmeister/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/grossmeister/mod.rs b/src/grossmeister/mod.rs
index 03bb828..875f4f8 100644
--- a/src/grossmeister/mod.rs
+++ b/src/grossmeister/mod.rs
@@ -42,7 +42,7 @@ impl Grossmeister {
Self {
board,
transposition_table: vec![None; TTABLE_SIZE as usize],
- move_selectors: smallvec![MoveSelector::default(); 256],
+ move_selectors: smallvec![MoveSelector::default(); 512],
should_halt: Arc::new(AtomicBool::new(false)),
debug: false,
}