idilhaq / duke

Automatically exported from code.google.com/p/duke
0 stars 1 forks source link

NumericComparator returns NaN result on compare(0,0) #66

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
A test for equality before calculating the ratio, returning 1 if true would fix 
this.

Original issue reported on code.google.com by nicky.ni...@gmail.com on 5 Jan 2012 at 12:05

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 6701701a4fc7.

Original comment by lar...@gmail.com on 5 Jan 2012 at 12:17

GoogleCodeExporter commented 9 years ago
Good catch! Thanks for reporting. :)

Original comment by lar...@gmail.com on 5 Jan 2012 at 12:20