aboutsummaryrefslogtreecommitdiff
path: root/src/board/engine.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/board/engine.rs')
-rw-r--r--src/board/engine.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/board/engine.rs b/src/board/engine.rs
index 95d7145..a87e8b0 100644
--- a/src/board/engine.rs
+++ b/src/board/engine.rs
@@ -283,7 +283,7 @@ impl Board {
match self.transposition() {
Some(transposition) => {
- if transposition.depth >= depth_left {
+ if transposition.depth == depth_left {
match transposition.node_type {
NodeType::PV => { // PV-nodes have exact score
principal_variation.push(transposition.mov);