aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/grossmeister/ttable.rs8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/grossmeister/ttable.rs b/src/grossmeister/ttable.rs
index bb151b3..0c6724f 100644
--- a/src/grossmeister/ttable.rs
+++ b/src/grossmeister/ttable.rs
@@ -48,13 +48,7 @@ impl PartialOrd for TranspositionTableItem {
return depth_ordering
}
- let node_ordering = self.node_type.partial_cmp(&other.node_type);
-
- if node_ordering != Some(Ordering::Equal) {
- return node_ordering
- }
-
- self.score.partial_cmp(&other.score)
+ self.node_type.partial_cmp(&other.node_type)
}
}