Change velocity-difference threshold calculation method and misc small non-functional changes (PROPER)
This commit is contained in:
@@ -7,8 +7,7 @@ export default function(sampleSet, remainderSet, distanceFn) {
|
||||
let sampleSubset = takeSampleFrom(sampleSet, Math.sqrt(sampleSet.length)).sample;
|
||||
|
||||
for (let node of remainderSet) {
|
||||
let nearestSample = undefined,
|
||||
minDist = undefined,
|
||||
let nearestSample, minDist,
|
||||
sampleSubsetDistanceCache = [];
|
||||
|
||||
for (let sample of sampleSet) {
|
||||
|
||||
Reference in New Issue
Block a user