summaryrefslogtreecommitdiff
path: root/js/Branching/CLKFROM.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Branching/CLKFROM.js')
-rw-r--r--js/Branching/CLKFROM.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/Branching/CLKFROM.js b/js/Branching/CLKFROM.js
index d94d654d..2b4ed4be 100644
--- a/js/Branching/CLKFROM.js
+++ b/js/Branching/CLKFROM.js
@@ -4,7 +4,7 @@ function CLKFROM() {
this.model = scicos_model();
this.model.sim = new ScilabString("clkfrom");
this.model.evtout = new ScilabDouble(1);
- this.model.opar = list("A");
+ this.model.opar = list(new ScilabString("A"));
this.model.blocktype = new ScilabString("d");
this.model.firing = new ScilabDouble(-1);
this.model.dep_ut = [false,false];
@@ -36,7 +36,7 @@ function CLKFROM() {
needcompile = 4;
y = needcompile;
}
- this.model.opar = list(this.tag);
+ this.model.opar = list(new ScilabDouble(this.tag));
this.model.evtout = new ScilabDouble(1);
this.model.firing = new ScilabDouble(-1);
graphics.exprs = exprs;