Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a tolerance argument to has_equal_value() #376

Open
richierocks opened this issue May 6, 2019 · 0 comments
Open

Add a tolerance argument to has_equal_value() #376

richierocks opened this issue May 6, 2019 · 0 comments

Comments

@richierocks
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant