aboutsummaryrefslogtreecommitdiff
path: root/src/grossmeister/ttable.rs
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2023-09-04 14:25:05 +0300
committereug-vs <eugene@eug-vs.xyz>2023-09-04 14:25:05 +0300
commit9d8304d35d5f9e8f9e70f231971b064e9e22ad68 (patch)
tree93b0c9d2d05b295eec3f3ee6bc5289c8894496d7 /src/grossmeister/ttable.rs
parentb1bec57cafc89b97b99795da8484ee34da773105 (diff)
downloadchessnost-9d8304d35d5f9e8f9e70f231971b064e9e22ad68.tar.gz
fix: dont put scores outside of bounds in table
Diffstat (limited to 'src/grossmeister/ttable.rs')
-rw-r--r--src/grossmeister/ttable.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/grossmeister/ttable.rs b/src/grossmeister/ttable.rs
index 8838093..bb151b3 100644
--- a/src/grossmeister/ttable.rs
+++ b/src/grossmeister/ttable.rs
@@ -34,7 +34,7 @@ impl PartialOrd for NodeType {
pub struct TranspositionTableItem {
/// Zobrist hash of this position
pub hash: u64,
- pub mov: Move,
+ pub mov: Option<Move>,
pub depth: u8,
pub score: f32,
pub node_type: NodeType,