point-cluster
Advanced tools
Comparing version
{ | ||
"name": "point-cluster", | ||
"version": "3.1.2", | ||
"version": "3.1.3", | ||
"description": "Fast nd point clustering.", | ||
@@ -12,3 +12,3 @@ "main": "index.js", | ||
"type": "git", | ||
"url": "git://github.com/dfcreative/point-cluster.git" | ||
"url": "git://github.com/dy/point-cluster.git" | ||
}, | ||
@@ -15,0 +15,0 @@ "keywords": [ |
@@ -198,3 +198,3 @@ /** | ||
maxLevel = Math.min( | ||
maxLevel = Math.max( | ||
Math.ceil(-log2(Math.abs(d[0]) / (bounds[2] - bounds[0]))), | ||
@@ -201,0 +201,0 @@ Math.ceil(-log2(Math.abs(d[1]) / (bounds[3] - bounds[1]))), |
@@ -7,3 +7,2 @@ 'use strict' | ||
t('quad: offsets case', t => { | ||
@@ -10,0 +9,0 @@ let points = [.15,.8, .2,.15, .6,.6, .6,.45, .8,.1, .9,.6, .91,.61] |
30622
-0.1%