summaryrefslogtreecommitdiff
path: root/js/MatrixOp/MATINV.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/MatrixOp/MATINV.js')
-rw-r--r--js/MatrixOp/MATINV.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/MatrixOp/MATINV.js b/js/MatrixOp/MATINV.js
index 7ceb5342..04fc617c 100644
--- a/js/MatrixOp/MATINV.js
+++ b/js/MatrixOp/MATINV.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 MATINV Block",["Datatype(1=real double 2=Complex)"],list("vec",1),label);