diff options
Diffstat (limited to 'js/MatrixOp/SQRT.js')
-rw-r--r-- | js/MatrixOp/SQRT.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/MatrixOp/SQRT.js b/js/MatrixOp/SQRT.js index dfe08a5b..2053045f 100644 --- a/js/MatrixOp/SQRT.js +++ b/js/MatrixOp/SQRT.js @@ -11,8 +11,8 @@ function SQRT() { this.model.out2 = new ScilabDouble([-2]); this.model.dep_ut = new ScilabBoolean([true,false]); var label = [sci2exp(1)]; - this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"SQRT\",sz(1),sz(2));"]); - this.x = new standard_define(new ScilabDouble([2,2]),this.model,new ScilabString(label),this.gr_i); + var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"SQRT\",sz(1),sz(2));"]); + this.x = new standard_define(new ScilabDouble([2,2]),this.model,new ScilabString(label),gr_i); return new BasicBlock(this.x); } SQRT.prototype.details = function SQRT() { @@ -47,7 +47,7 @@ function SQRT() { var out = [this.model.out,this.model.out2]; var funtyp = 4; if (ok) { - 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]; |