aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2024-01-21 08:31:16 +0100
committereug-vs <eugene@eug-vs.xyz>2024-01-21 08:31:16 +0100
commit7372ece3176242e5ea472c57f84030ac37f590e6 (patch)
tree41888f26b759fd50593f0f1a0404433cb5ac3bca /src
parent24c5e11707ea8d374463fb2de4446ffb499b1f0e (diff)
downloadchessnost-7372ece3176242e5ea472c57f84030ac37f590e6.tar.gz
fix: remove unnecessary code branch
Diffstat (limited to 'src')
-rw-r--r--src/grossmeister/search.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/grossmeister/search.rs b/src/grossmeister/search.rs
index 1e7cf5f..baa91d0 100644
--- a/src/grossmeister/search.rs
+++ b/src/grossmeister/search.rs
@@ -135,10 +135,6 @@ impl Grossmeister {
transposition.mov = Some(mov);
transposition.score = score;
transposition.node_type = NodeType::PV;
- } else if transposition.node_type == NodeType::All {
- transposition.mov = None;
- transposition.score = score;
- transposition.node_type = NodeType::All;
}
} else {
self.board.unmake_move(mov, captured_piece, ep_target_before, castling_rights_before, hash_before);