remove unneeded increment of depth

This commit is contained in:
Simon Gardling 2025-02-22 12:35:53 -05:00
parent 74b9c8dc96
commit 8e22768987
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D

View File

@ -204,7 +204,7 @@ impl FutureMoves {
.sum::<i128>();
self.arena[idx].value =
(self.arena[idx].self_value / (depth as i64 + 1)) as i128 + children_value;
(self.arena[idx].self_value / (depth as i64)) as i128 + children_value;
}
}
}