-
Notifications
You must be signed in to change notification settings - Fork 357
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MATH-1535: Recurring issue with method "fixTies" (WIP).
Current code is too fragile: * Adding "jitter" does not work reliably. * Changing the seed of the RNG make unit tests fail. This commit includes: * Changing from "MathInternalError" to "MaxCountExceededException". * Using named variables for hard-coded values. * Adding unit tests (set to "@ignore" to let the build pass). * Handling infinite values to avoid creating NaN values.
- Loading branch information
Gilles Sadowski
committed
May 29, 2020
1 parent
9f778c4
commit 67aea22
Showing
2 changed files
with
116 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters