diff options
Diffstat (limited to 'js/MatrixOp/RICC.js')
-rw-r--r-- | js/MatrixOp/RICC.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/MatrixOp/RICC.js b/js/MatrixOp/RICC.js index 45e4ddb9..434970f8 100644 --- a/js/MatrixOp/RICC.js +++ b/js/MatrixOp/RICC.js @@ -21,8 +21,8 @@ function RICC() { this.model.firing = new ScilabDouble([]); this.model.dep_ut = new ScilabBoolean([true,false]); var label = [[sci2exp(1)],[sci2exp(1)]]; - this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"RICC\",sz(1),sz(2));"]); - this.x = new standard_define(new ScilabDouble([2,2]),this.model,new ScilabDouble(label),this.gr_i); + var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"RICC\",sz(1),sz(2));"]); + this.x = new standard_define(new ScilabDouble([2,2]),this.model,new ScilabDouble(label),gr_i); return new BasicBlock(this.x); } RICC.prototype.details = function RICC() { @@ -51,7 +51,7 @@ function RICC() { var out = [this.model.out,this.model.out2]; var it = [1,1,1]; var ot = 1; - var label = this.exprs; + var label = exprs; var tmpvar0 = set_io(this.model,this.graphics,list(in1,it),list(out,ot),[],[]); this.model = tmpvar0[0]; this.graphics = tmpvar0[1]; |