summaryrefslogtreecommitdiff
path: root/js/MatrixOp/MATDET.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/MatrixOp/MATDET.js')
-rw-r--r--js/MatrixOp/MATDET.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/MatrixOp/MATDET.js b/js/MatrixOp/MATDET.js
index fc12d549..9aed36c1 100644
--- a/js/MatrixOp/MATDET.js
+++ b/js/MatrixOp/MATDET.js
@@ -39,15 +39,15 @@ function MATDET() {
label[9-1] = [];
}
while (true) {
- [ok,typ,exprs] = scicos_getvalue("Set MATDET Block",["Datatype(1=real double 2=Complex)"],list("vec",1),label);
+ [ok,this.typ,exprs] = scicos_getvalue("Set MATDET Block",["Datatype(1=real double 2=Complex)"],list("vec",1),label);
if (!ok) {
break;
}
- if ((typ==1)) {
+ if ((this.typ==1)) {
function_name = "mat_det";
ot = 1;
it = 1;
- } else if ((typ==2)) {
+ } else if ((this.typ==2)) {
function_name = "matz_det";
ot = 2;
it = 2;