Skip to content

Commit

Permalink
chore: remove newly redundant assert
Browse files Browse the repository at this point in the history
  • Loading branch information
raklaptudirm committed Jun 6, 2024
1 parent 27c53cc commit b7ebdea
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/mcts/graph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -246,10 +246,6 @@ impl Tree {
let child_position = position.after_move::<true>(edge.mov);
let child = self.node(edge.ptr);

if position.checksum != position.after_move::<true>(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;
Expand Down

0 comments on commit b7ebdea

Please sign in to comment.