From 6ee02952c836bb31e9b51783e6a16724fba64637 Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Fri, 13 Jul 2018 15:37:42 +0530 Subject: change in1 to in --- js/MatrixOp/ROOTCOEF.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'js/MatrixOp/ROOTCOEF.js') diff --git a/js/MatrixOp/ROOTCOEF.js b/js/MatrixOp/ROOTCOEF.js index de51409f..fa95397e 100644 --- a/js/MatrixOp/ROOTCOEF.js +++ b/js/MatrixOp/ROOTCOEF.js @@ -5,7 +5,7 @@ function ROOTCOEF() { var function_name = "root_coef"; var funtyp = 4; this.model.sim = list(new ScilabString([function_name]), new ScilabDouble([funtyp])); - this.model.in1 = new ScilabDouble([-1]); + this.model.in = new ScilabDouble([-1]); this.model.in2 = new ScilabDouble([1]); this.model.intyp = new ScilabDouble([1]); this.model.out = new ScilabDouble([-2]); @@ -39,10 +39,7 @@ function ROOTCOEF() { this.typ = inverse(arguments[0]["typ"]) this.inp = arguments[0]["inp"] this.exprs = arguments[0]["exprs"] - this.x = arg1; - this.graphics = arg1.graphics; var label = this.graphics.exprs; - this.model = arg1.model; if (size(label,"*")==14) { label[9-1] = []; } @@ -74,9 +71,6 @@ function ROOTCOEF() { var ok = tmpvar0[2]; this.model.sim = list(new ScilabString([function_name]), new ScilabDouble([funtyp])); this.graphics.exprs = new ScilabDouble([label]); - arg1.graphics = this.graphics; - arg1.model = this.model; - this.x = arg1; break; } } -- cgit