Comparing version 0.1.0 to 0.1.1
@@ -99,3 +99,3 @@ #!/usr/bin/env node | ||
// is the closest distance smaller than the stddev of elements? | ||
if (closest_dist < threshold) { | ||
if (closest_dist < threshold || closest_dist === 0) { | ||
@@ -102,0 +102,0 @@ // put element into existing cluster |
{ | ||
"name": "geocluster", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "find clusters in coordinates", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6054