This commit is contained in:
2025-02-20 23:14:07 -05:00
parent de0eafecfa
commit d5ed4eb81a
3 changed files with 7 additions and 5 deletions

View File

@@ -276,7 +276,8 @@ impl FutureMoves {
&& node.coords() == (i, j)
})
.map(|x| x.0)
.inspect(|&root| self.update_root_idx(root))
// do raw set so we can prune it on the next move (in `update`)
.inspect(|&root| self.update_root_idx_raw(root))
.is_some()
}