summaryrefslogtreecommitdiff
path: root/js/Sources/CLOCK_c.js
diff options
context:
space:
mode:
authorSunil Shetye2018-08-27 14:38:26 +0530
committerSunil Shetye2018-08-27 16:43:40 +0530
commit8e6c876e5582928ab6909cf0f3529a97f622520d (patch)
tree3ce13a7e3552486771d147aec6973ff45a6024a5 /js/Sources/CLOCK_c.js
parent5cffbe3aa309e242255b96fe954688c6f1380811 (diff)
downloadsci2js-8e6c876e5582928ab6909cf0f3529a97f622520d.tar.gz
sci2js-8e6c876e5582928ab6909cf0f3529a97f622520d.tar.bz2
sci2js-8e6c876e5582928ab6909cf0f3529a97f622520d.zip
ignore first and last variable by index, not value
Diffstat (limited to 'js/Sources/CLOCK_c.js')
-rw-r--r--js/Sources/CLOCK_c.js3
1 files changed, 1 insertions, 2 deletions
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;