diff options
Diffstat (limited to 'js/Sinks/CMAT3D.js')
-rw-r--r-- | js/Sinks/CMAT3D.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/Sinks/CMAT3D.js b/js/Sinks/CMAT3D.js index 0d0d3501..b04ee9f5 100644 --- a/js/Sinks/CMAT3D.js +++ b/js/Sinks/CMAT3D.js @@ -15,11 +15,11 @@ break mess=[]; if (size(vec_x,"*")!=size(vec_y,"*")) { mess=[mess,"Vector X and Vector Y must have the same size"," "]; -ok=None; +ok=false; } if (cmax<=cmin) { mess=[mess,"Error with minimum and maximum value"," "]; -ok=None; +ok=false; } if (!ok) { message(["Some specified values are inconsistent:"," ",mess]); @@ -56,7 +56,7 @@ model.evtin=1; model.ipar=[cmin,cmax,size_c,size_x,size_y]; model.rpar=[colormap.slice(),x,y]; model.blocktype="c"; -model.dep_ut=[true,None]; +model.dep_ut=[true,false]; exprs=[strcat(string(x)," "),strcat(string(y)," "),string("jetcolormap(25)"),string(cmin),string(cmax)]; gr_i=[]; x=standard_define([2,2],model,exprs,gr_i); |