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 e85ee09e..1766bd00 100644
--- a/js/MatrixOp/MATMUL.js
+++ b/js/MatrixOp/MATMUL.js
@@ -29,7 +29,7 @@ function MATMUL() {
this.graphics = this.x.graphics;
var label = this.graphics.exprs;
this.model = this.x.model;
- if (this.model.ipar==[]) {
+ if (this.model.ipar.length==0) {
this.model.ipar = new ScilabDouble([1]);
}
if (size(label,"*")==1) {