From 269a7383a5d11ca481c037c261459d0f0cb67013 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Sun, 3 Sep 2023 20:09:08 +0300 Subject: feat: increase move_selectors array for moves >128 --- src/grossmeister/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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, } -- cgit v1.2.3