diff options
author | eug-vs <eugene@eug-vs.xyz> | 2023-09-04 14:25:05 +0300 |
---|---|---|
committer | eug-vs <eugene@eug-vs.xyz> | 2023-09-04 14:25:05 +0300 |
commit | 9d8304d35d5f9e8f9e70f231971b064e9e22ad68 (patch) | |
tree | 93b0c9d2d05b295eec3f3ee6bc5289c8894496d7 /src/grossmeister/ttable.rs | |
parent | b1bec57cafc89b97b99795da8484ee34da773105 (diff) | |
download | chessnost-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.rs | 2 |
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, |