Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Future-proof helper function with zero handling.
The ZeroDivisionError was already being caught in correlation(), but it is nicer to handle the zero case inside the helper function.
- Loading branch information