Open richierocks opened 5 years ago
Checking that two numbers are equal within a specified tolerance is currently a bit clunky and prone to error.
See this example of it being done wrong.
https://github.com/datacamp/courses-statistical-simulation-in-python/pull/106#pullrequestreview-234160761
Having a tolerance argument would save messing about writing custom equality functions.
Checking that two numbers are equal within a specified tolerance is currently a bit clunky and prone to error.
See this example of it being done wrong.
https://github.com/datacamp/courses-statistical-simulation-in-python/pull/106#pullrequestreview-234160761
Having a tolerance argument would save messing about writing custom equality functions.