summaryrefslogtreecommitdiff
path: root/js/Sources/CLOCK_f.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Sources/CLOCK_f.js')
-rw-r--r--js/Sources/CLOCK_f.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/js/Sources/CLOCK_f.js b/js/Sources/CLOCK_f.js
index 2a1a0c13..2423b114 100644
--- a/js/Sources/CLOCK_f.js
+++ b/js/Sources/CLOCK_f.js
@@ -68,7 +68,6 @@ function CLOCK_f() {
var ok = true;
this.dt = arguments[0]["dt"];
this.t0 = arguments[0]["t0"];
- this.exprs0 = arguments[0]["exprs0"];
if (!ok) {
break;
}
@@ -78,14 +77,14 @@ function CLOCK_f() {
var ok = false;
}
if (ok) {
- xx.graphics.exprs = this.exprs0;
+ xx.graphics.exprs = exprs0;
this.model.rpar = new ScilabDouble([this.dt]);
this.model.firing = new ScilabDouble([this.t0]);
xx.model = this.model;
break;
}
}
- if (!and([t0_old,dt_old]==[this.t0,this.dt])||!and(this.exprs0==exprs)) {
+ if (!and([t0_old,dt_old]==[this.t0,this.dt])||!and(exprs0==exprs)) {
newpar[size(newpar)+1-1] = path;
}
if (t0_old!=this.t0) {