summaryrefslogtreecommitdiff
path: root/js/MatrixOp/MATMAGPHI.js
diff options
context:
space:
mode:
authorSunil Shetye2018-06-16 19:47:55 +0530
committerSunil Shetye2018-06-18 10:46:22 +0530
commitdc0c2354295fc1c80d5c0e10b053e5926861b5d3 (patch)
treef985ad20bba0639e5d85e3be91552b4dca6f7fc9 /js/MatrixOp/MATMAGPHI.js
parent3a3e1d6aa7fd38a910a7416040050ffa9550566e (diff)
downloadsci2js-dc0c2354295fc1c80d5c0e10b053e5926861b5d3.tar.gz
sci2js-dc0c2354295fc1c80d5c0e10b053e5926861b5d3.tar.bz2
sci2js-dc0c2354295fc1c80d5c0e10b053e5926861b5d3.zip
support var(:,:) syntax
Diffstat (limited to 'js/MatrixOp/MATMAGPHI.js')
-rw-r--r--js/MatrixOp/MATMAGPHI.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/MatrixOp/MATMAGPHI.js b/js/MatrixOp/MATMAGPHI.js
index cf01de2b..efa28feb 100644
--- a/js/MatrixOp/MATMAGPHI.js
+++ b/js/MatrixOp/MATMAGPHI.js
@@ -30,7 +30,7 @@ out=[-1,-2];
ot=2;
} else {
message("decomposition type is not supported");
-ok=None;
+ok=false;
}
funtyp=4;
if (ok) {
@@ -65,7 +65,7 @@ model.rpar=[];
model.ipar=[];
model.blocktype="c";
model.firing=[];
-model.dep_ut=[true,None];
+model.dep_ut=[true,false];
label=[sci2exp(1)];
gr_i=[];
x=standard_define([3,2],model,label,gr_i);