summaryrefslogtreecommitdiff
path: root/js/Sources/CLOCK_c.js
diff options
context:
space:
mode:
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;