summaryrefslogtreecommitdiff
path: root/js/MatrixOp/MATTRAN.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/MatrixOp/MATTRAN.js')
-rw-r--r--js/MatrixOp/MATTRAN.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/MatrixOp/MATTRAN.js b/js/MatrixOp/MATTRAN.js
index 970a386a..893d48f8 100644
--- a/js/MatrixOp/MATTRAN.js
+++ b/js/MatrixOp/MATTRAN.js
@@ -8,7 +8,7 @@ graphics=arg1.graphics;
label=graphics.exprs;
model=arg1.model;
if (size(label,"*")==1) {
-label[2]=sci2exp(1);
+label[2-1]=sci2exp(1);
}
while (true) {
[ok,typ,rule,exprs]=scicos_getvalue("Set MATTRAN Block",["Datatype(1=real double 2=Complex)","rule (1=.\' 2=\')"],list("vec",1,"vec",1),label);