remove unneeded increment of depth
This commit is contained in:
parent
74b9c8dc96
commit
8e22768987
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user