Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure move_importance() is non-zero
In case ply is very high, function will round to zero (although mathematically it is always bigger than zero). On my system this happens at movenumber 6661. Although 6661 moves in a game is, of course, probably impossible, for safety and to be locally consistent makes sense to ensure returned value is positive. Non functional change.
- Loading branch information