Open hzhang0418 opened 5 years ago
When one of d1, d2 is negative and the other is zero, it will give ZeroDivisionError. Moreover, what should be the correct way to calculate abs_norm when one or both of d1 and d2 <0?
When one of d1, d2 is negative and the other is zero, it will give ZeroDivisionError. Moreover, what should be the correct way to calculate abs_norm when one or both of d1 and d2 <0?