summaryrefslogtreecommitdiff
path: root/js/Branching/SCALAR2VECTOR.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Branching/SCALAR2VECTOR.js')
-rw-r--r--js/Branching/SCALAR2VECTOR.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Branching/SCALAR2VECTOR.js b/js/Branching/SCALAR2VECTOR.js
index 90de2156..a78d2fdc 100644
--- a/js/Branching/SCALAR2VECTOR.js
+++ b/js/Branching/SCALAR2VECTOR.js
@@ -10,7 +10,7 @@ function SCALAR2VECTOR() {
this.model.dep_ut = new ScilabDouble([true,false]);
this.exprs = [string([this.nout])];
this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"SCALAR2VECTOR\",sz(1),sz(2));"]);
- this.x = standard_define([3,2],this.model,this.exprs,this.gr_i);
+ this.x = new standard_define(new ScilabDouble([3,2]),this.model,this.exprs,this.gr_i);
return new BasicBlock(this.x);
}
SCALAR2VECTOR.prototype.details = function SCALAR2VECTOR() {