From 9d8304d35d5f9e8f9e70f231971b064e9e22ad68 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Mon, 4 Sep 2023 14:25:05 +0300 Subject: fix: dont put scores outside of bounds in table --- src/grossmeister/ttable.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/grossmeister/ttable.rs') 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, pub depth: u8, pub score: f32, pub node_type: NodeType, -- cgit v1.2.3