แก้ coding style ภาค 5

This commit is contained in:
Pitchaya Boonsarngsuk
2018-03-22 16:29:10 +00:00
parent 8e34697d89
commit 21ee710468
5 changed files with 26 additions and 26 deletions

View File

@@ -39,8 +39,7 @@ export default function (sampleSet, remainderSet, distanceFn, endingIts) {
}
index = sampleSubset.indexOf(sample);
if (index !== -1)
sampleSubsetDistanceCache[index] = dist;
if (index !== -1) { sampleSubsetDistanceCache[index] = dist; }
}
placeNearToNearestNeighbour(node, nearestSample, minDist, sampleSubset, sampleSubsetDistanceCache, endingIts);