From 340be450b86084e9bcefbe9737b3b0de5c1080fc Mon Sep 17 00:00:00 2001 From: Pitchaya Boonsarngsuk <2285135b@student.gla.ac.uk> Date: Tue, 6 Feb 2018 13:10:51 +0000 Subject: [PATCH] Neighbour remove double check on stableVeloHandler exists --- src/neighbourSampling.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/neighbourSampling.js b/src/neighbourSampling.js index e01d4d2..8bf779d 100644 --- a/src/neighbourSampling.js +++ b/src/neighbourSampling.js @@ -63,7 +63,7 @@ export default function () { velocityDiff /= n*(neighbourSize+sampleSize); latestVelocityDiff = velocityDiff; - if(stableVeloHandler!==null && velocityDiff