From 8e6c876e5582928ab6909cf0f3529a97f622520d Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Mon, 27 Aug 2018 14:38:26 +0530 Subject: ignore first and last variable by index, not value --- js/Sources/CLOCK_c.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'js/Sources/CLOCK_c.js') diff --git a/js/Sources/CLOCK_c.js b/js/Sources/CLOCK_c.js index 2c7afa61..38e720c0 100644 --- a/js/Sources/CLOCK_c.js +++ b/js/Sources/CLOCK_c.js @@ -68,7 +68,6 @@ function CLOCK_c() { var ok = true; this.dt = arguments[0]["dt"]; this.t0 = arguments[0]["t0"]; - this.exprs0 = arguments[0]["exprs0"]; if (!ok) { break; } @@ -77,7 +76,7 @@ function CLOCK_c() { var ok = false; } if (ok) { - xx.graphics.exprs = this.exprs0; + xx.graphics.exprs = exprs0; this.model.rpar = new ScilabDouble([this.dt],[this.t0]); this.model.firing = new ScilabDouble([this.t0]); xx.model = this.model; -- cgit