From b7ebdea7801eb64fbfd60d3b89ac5fd252de174c Mon Sep 17 00:00:00 2001 From: Rak Laptudirm Date: Thu, 6 Jun 2024 15:32:35 +0530 Subject: [PATCH] chore: remove newly redundant assert --- src/mcts/graph.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/mcts/graph.rs b/src/mcts/graph.rs index 7b31ea2..c7ed321 100644 --- a/src/mcts/graph.rs +++ b/src/mcts/graph.rs @@ -246,10 +246,6 @@ impl Tree { let child_position = position.after_move::(edge.mov); let child = self.node(edge.ptr); - if position.checksum != position.after_move::(edge.mov).checksum { - return Err("position not matching after making node's move".to_string()); - } - self.verify_node(edge.ptr, child_position)?; child_playouts += child.playouts;