bigquery-utils
bigquery-utils copied to clipboard
fixes jaccard bug
Closes #383
const la = (sa.length > sb.length) ? sa.length : sb.length
const lb = (sa.length > sb.length) ? sb.length : sa.length
was added as an optimization to the double for loop but introduces a bug.
The incorrect loop limits could cause the intersection count (intersectSize) to be inaccurate, as not all possible character pairs were being compared.
/gcbrun
Sorry just getting to this, can you pull the latest to resolve merge conflicts
/gcbrun