Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If the game got late enough that move_importance(currentPly) * slowMover / 100 rounds to 0, then we ended up dividing 0 by 0 when only looking 1 move ahead. This apparently caused the search to almost immediately abort and Stockfish would blunder in long games. So convert thisMoveImportance to a double. No functional change.
- Loading branch information