diff options
Diffstat (limited to 'js/MatrixOp/CUMSUM.js')
-rw-r--r-- | js/MatrixOp/CUMSUM.js | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/js/MatrixOp/CUMSUM.js b/js/MatrixOp/CUMSUM.js index 085f2dd6..4d00c97b 100644 --- a/js/MatrixOp/CUMSUM.js +++ b/js/MatrixOp/CUMSUM.js @@ -5,7 +5,7 @@ function CUMSUM() { var function_name = "cumsum_m"; 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([-2]); this.model.intyp = new ScilabDouble([1]); this.model.out = new ScilabDouble([-1]); @@ -39,9 +39,6 @@ function CUMSUM() { this.typ = inverse(arguments[0]["typ"]) this.decomptyp = arguments[0]["decomptyp"] this.lab = arguments[0]["lab"] - this.x = arg1; - this.model = arg1.model; - this.graphics = arg1.graphics; var label = this.graphics.exprs; if (size(label,"*")==14) { label[9-1] = []; @@ -85,7 +82,7 @@ function CUMSUM() { message("Datatype is not supported"); var ok = false; } - var in1 = [this.model.in1,this.model.in2]; + var in1 = [this.model.in,this.model.in2]; var out = [this.model.out,this.model.out2]; var funtyp = 4; if (ok) { @@ -96,10 +93,7 @@ function CUMSUM() { } if (ok) { this.model.sim = list(new ScilabString([function_name]), new ScilabDouble([funtyp])); - arg1.model = this.model; this.graphics.exprs = new ScilabDouble([label]); - arg1.graphics = this.graphics; - this.x = arg1; break; } } |