diff options
author | Sunil Shetye | 2018-08-30 17:45:27 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-10-08 11:24:12 +0530 |
commit | 4dc055ae23c9e33e459b7b583a67f92b5972a062 (patch) | |
tree | 430d3230b5395ab1ae380da60d9c85cdf0899223 /combined.js | |
parent | 6a435095be880c696cb975d859ec730046021a75 (diff) | |
download | sci2js-4dc055ae23c9e33e459b7b583a67f92b5972a062.tar.gz sci2js-4dc055ae23c9e33e459b7b583a67f92b5972a062.tar.bz2 sci2js-4dc055ae23c9e33e459b7b583a67f92b5972a062.zip |
code for missing variables
Diffstat (limited to 'combined.js')
-rw-r--r-- | combined.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/combined.js b/combined.js index 4d6c6b15..a2e7a168 100644 --- a/combined.js +++ b/combined.js @@ -19225,6 +19225,8 @@ function CMSCOPE() { /* autogenerated from "macros/Sinks/CSCOPE.sci" */ function CSCOPE() { CSCOPE.prototype.define = function CSCOPE() { + this.heritance = 0; + this.nom = ""; this.win = -1; this.wdim = [[600],[400]]; this.wpos = [[-1],[-1]]; @@ -19279,7 +19281,7 @@ function CSCOPE() { this.ymax = parseFloat(arguments[0]["ymax"]); this.per = parseFloat(arguments[0]["per"]); this.N = parseFloat(arguments[0]["N"]); - this.heritance = arguments[0]["heritance"]; + this.heritance = parseFloat(arguments[0]["heritance"]); this.nom = arguments[0]["nom"]; var exprs = [arguments[0]["clrs"], arguments[0]["win"], arguments[0]["wpos"], arguments[0]["wdim"], arguments[0]["ymin"], arguments[0]["ymax"], arguments[0]["per"], arguments[0]["N"], arguments[0]["heritance"], arguments[0]["nom"]]; if (!ok) { @@ -19336,8 +19338,8 @@ function CSCOPE() { this.model.rpar = new ScilabDouble(rpar); this.model.ipar = new ScilabDouble(ipar); this.model.evtin = new ScilabDouble([ones(1-this.heritance,1)]); - this.model.label = new ScilabDouble([this.nom]); - this.graphics.id = new ScilabDouble([this.nom]); + this.model.label = new ScilabString([this.nom]); + this.graphics.id = new ScilabString([this.nom]); this.graphics.exprs = new ScilabDouble([exprs]); this.x.graphics = this.graphics; this.x.model = this.model; |