aboutsummaryrefslogtreecommitdiff
path: root/src/board/ttable.rs
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2023-01-29 13:56:57 +0300
committereug-vs <eugene@eug-vs.xyz>2023-01-29 13:56:57 +0300
commitdc120dc65742be2312a53afc887dd30a3ae96e04 (patch)
treee522a0713fa74449e73e48e6c724fa9b7e12ae7f /src/board/ttable.rs
parente7159fad693b6db784ec5f93ed4b624465c1eb9c (diff)
downloadchessnost-dc120dc65742be2312a53afc887dd30a3ae96e04.tar.gz
feat: immediately return score of hash moves
Diffstat (limited to 'src/board/ttable.rs')
-rw-r--r--src/board/ttable.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/board/ttable.rs b/src/board/ttable.rs
index 3a103da..9f9e0b0 100644
--- a/src/board/ttable.rs
+++ b/src/board/ttable.rs
@@ -15,7 +15,7 @@ pub enum NodeType {
pub struct TranspositionTableItem {
/// Zobrist hash of this position
pub hash: u64,
- pub best_move: Move,
+ pub mov: Move,
pub depth: u8,
pub score: f32,
pub node_type: NodeType,