Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG: Fix div by 0 error due to changed return type.
When calculate_positions_value used np.dot, the return type was a np.float64. Which allows the use of 0.0 in division to not raise an exception. Fix by expliciting creating an np.float64 with 0 value.
- Loading branch information