From b601af68b4b99ce895702863938e084edc981f0c Mon Sep 17 00:00:00 2001 From: Pitchaya Boonsarngsuk <2285135b@student.gla.ac.uk> Date: Thu, 22 Mar 2018 15:49:13 +0000 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=E0=B8=8A=E0=B8=B7?= =?UTF-8?q?=E0=B9=88=E0=B8=AD=E0=B8=95=E0=B8=B1=E0=B8=A7=E0=B9=81=E0=B8=9B?= =?UTF-8?q?=E0=B8=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hybridSimulation.js | 2 +- src/t-sne.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/hybridSimulation.js b/src/hybridSimulation.js index 8fe8aee..77d6258 100644 --- a/src/hybridSimulation.js +++ b/src/hybridSimulation.js @@ -188,7 +188,7 @@ export default function (sim, forceS, forceF) { }, simulation: function (_) { - return arguments.length ? (toInit = true, simulation = _, hybrid) : simulation; + return arguments.length ? (initAlready = false, simulation = _, hybrid) : simulation; }, forceSample: function (_) { diff --git a/src/t-sne.js b/src/t-sne.js index 3cbade4..aabfebd 100644 --- a/src/t-sne.js +++ b/src/t-sne.js @@ -1,3 +1,4 @@ +/* eslint-disable block-scoped-var */ import constant from "./constant"; /**