summaryrefslogtreecommitdiff
path: root/js/MatrixOp/MATMUL.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/MatrixOp/MATMUL.js')
-rw-r--r--js/MatrixOp/MATMUL.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/MatrixOp/MATMUL.js b/js/MatrixOp/MATMUL.js
index a3120182..b4fbac36 100644
--- a/js/MatrixOp/MATMUL.js
+++ b/js/MatrixOp/MATMUL.js
@@ -4,7 +4,7 @@ function MATMUL() {
this.model = scicos_model();
this.model.sim = list(new ScilabString(["matmul_m"]), new ScilabDouble([4]));
this.model.in1 = [[-1],[-2]];
- this.model.in2 = [[-2],[-3]];
+ this.model.in2 = new ScilabDouble([-2],[-3]);
this.model.out = new ScilabDouble([-1]);
this.model.out2 = new ScilabDouble([-3]);
this.model.dep_ut = [true,false];
@@ -150,7 +150,7 @@ function MATMUL() {
if (ok) {
label = exprs;
this.model.ipar = new ScilabDouble([this.rule]);
- this.model.rpar = [[kmin],[kmax]];
+ this.model.rpar = new ScilabDouble([kmin],[kmax]);
graphics.exprs = label;
this.x.graphics = graphics;
this.x.model = this.model;