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