summaryrefslogtreecommitdiff
path: root/js/MatrixOp/MATPINV.js
diff options
context:
space:
mode:
authorSunil Shetye2018-06-15 17:43:46 +0530
committerSunil Shetye2018-06-15 17:45:03 +0530
commitac15cca9d5daa5e0c7e531d1454b436b6cca64dc (patch)
treec97bc8129401088f4b564213e8d2761e02964c5a /js/MatrixOp/MATPINV.js
parentcd1c69226494b2228095aef86493ba79b5f9e6e2 (diff)
downloadsci2js-ac15cca9d5daa5e0c7e531d1454b436b6cca64dc.tar.gz
sci2js-ac15cca9d5daa5e0c7e531d1454b436b6cca64dc.tar.bz2
sci2js-ac15cca9d5daa5e0c7e531d1454b436b6cca64dc.zip
fix syntax issues
Diffstat (limited to 'js/MatrixOp/MATPINV.js')
-rw-r--r--js/MatrixOp/MATPINV.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/MatrixOp/MATPINV.js b/js/MatrixOp/MATPINV.js
index 573f11de..29e54589 100644
--- a/js/MatrixOp/MATPINV.js
+++ b/js/MatrixOp/MATPINV.js
@@ -8,7 +8,7 @@ graphics=arg1.graphics;
label=graphics.exprs;
model=arg1.model;
if (size(label,"*")==14) {
-label[9]=[];
+label[9-1]=[];
}
while (true) {
[ok,typ,exprs]=scicos_getvalue("Set MATPINV Block",["Datatype(1=real double 2=Complex)"],list("vec",1),label);