From dc0c2354295fc1c80d5c0e10b053e5926861b5d3 Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Sat, 16 Jun 2018 19:47:55 +0530 Subject: support var(:,:) syntax --- js/MatrixOp/MATDIV.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/MatrixOp/MATDIV.js') diff --git a/js/MatrixOp/MATDIV.js b/js/MatrixOp/MATDIV.js index 927537fd..03cbcf4f 100644 --- a/js/MatrixOp/MATDIV.js +++ b/js/MatrixOp/MATDIV.js @@ -25,7 +25,7 @@ ot=2; it=[2,2]; } else { message("Datatype is not supported"); -ok=None; +ok=false; } in1=[model.in1,model.in2]; out=[model.out,model.out2]; @@ -61,7 +61,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([2,2],model,label,gr_i); -- cgit