diff options
Diffstat (limited to 'js/MatrixOp/MATCATH.js')
-rw-r--r-- | js/MatrixOp/MATCATH.js | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/js/MatrixOp/MATCATH.js b/js/MatrixOp/MATCATH.js index 02be8cf8..f251b068 100644 --- a/js/MatrixOp/MATCATH.js +++ b/js/MatrixOp/MATCATH.js @@ -5,7 +5,7 @@ function MATCATH() { var function_name = "mat_cath"; var funtyp = 4; this.model.sim = list(new ScilabString([function_name]), new ScilabDouble([funtyp])); - this.model.in1 = new ScilabDouble([-1],[-1]); + this.model.in = new ScilabDouble([-1],[-1]); this.model.in2 = new ScilabDouble([-2],[-3]); this.model.intyp = new ScilabDouble([1,1]); this.model.out = new ScilabDouble([-1]); @@ -37,9 +37,6 @@ function MATCATH() { MATCATH.prototype.set = function MATCATH() { this.nin = arguments[0]["nin"] this.lab = arguments[0]["lab"] - this.x = arg1; - this.model = arg1.model; - this.graphics = arg1.graphics; var label = this.graphics.exprs; if (size(label,"*")>1) { var label = "size(evstr("+label[2-1]+"),\'*\')"; @@ -62,9 +59,6 @@ function MATCATH() { var funtyp = 4; this.model.sim = list(new ScilabString(["mat_cath"]), new ScilabDouble([funtyp])); this.graphics.exprs = new ScilabDouble([label]); - arg1.graphics = this.graphics; - arg1.model = this.model; - this.x = arg1; break; } } |