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.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/MatrixOp/MATMUL.js b/js/MatrixOp/MATMUL.js
index b4fbac36..2ce11fb8 100644
--- a/js/MatrixOp/MATMUL.js
+++ b/js/MatrixOp/MATMUL.js
@@ -3,7 +3,7 @@ function MATMUL() {
MATMUL.prototype.define = function MATMUL() {
this.model = scicos_model();
this.model.sim = list(new ScilabString(["matmul_m"]), new ScilabDouble([4]));
- this.model.in1 = [[-1],[-2]];
+ this.model.in1 = new ScilabDouble([-1],[-2]);
this.model.in2 = new ScilabDouble([-2],[-3]);
this.model.out = new ScilabDouble([-1]);
this.model.out2 = new ScilabDouble([-3]);