summaryrefslogtreecommitdiff
path: root/js/MatrixOp/MATCATH.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/MatrixOp/MATCATH.js')
-rw-r--r--js/MatrixOp/MATCATH.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/MatrixOp/MATCATH.js b/js/MatrixOp/MATCATH.js
index 31889bf1..01fb0d32 100644
--- a/js/MatrixOp/MATCATH.js
+++ b/js/MatrixOp/MATCATH.js
@@ -4,7 +4,7 @@ function MATCATH() {
this.model = scicos_model();
function_name = "mat_cath";
funtyp = 4;
- this.model.sim = list(function_name,funtyp);
+ this.model.sim = list(new ScilabString(function_name),new ScilabDouble(funtyp));
this.model.in1 = [[-1],[-1]];
this.model.in2 = [[-2],[-3]];
this.model.intyp = [1,1];
@@ -57,7 +57,7 @@ function MATCATH() {
[model,graphics,ok] = set_io(this.model,graphics,list(in1,it),list(out,ot),[],[]);
if (ok) {
funtyp = 4;
- this.model.sim = list("mat_cath",funtyp);
+ this.model.sim = list(new ScilabString("mat_cath"),new ScilabDouble(funtyp));
graphics.exprs = label;
arg1.graphics = graphics;
arg1.model = this.model;