anhaidgroup / py_entitymatching

BSD 3-Clause "New" or "Revised" License
183 stars 48 forks source link

Bug in simfunctions.abs_norm(d1, d2) #125

Open hzhang0418 opened 5 years ago

hzhang0418 commented 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?