diff options
author | eug-vs <eugene@eug-vs.xyz> | 2024-01-21 08:31:16 +0100 |
---|---|---|
committer | eug-vs <eugene@eug-vs.xyz> | 2024-01-21 08:31:16 +0100 |
commit | 7372ece3176242e5ea472c57f84030ac37f590e6 (patch) | |
tree | 41888f26b759fd50593f0f1a0404433cb5ac3bca | |
parent | 24c5e11707ea8d374463fb2de4446ffb499b1f0e (diff) | |
download | chessnost-7372ece3176242e5ea472c57f84030ac37f590e6.tar.gz |
fix: remove unnecessary code branch
-rw-r--r-- | src/grossmeister/search.rs | 4 |
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); |