diff options
author | Sunil Shetye | 2018-07-13 15:37:42 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-07-15 07:11:58 +0530 |
commit | 6ee02952c836bb31e9b51783e6a16724fba64637 (patch) | |
tree | bde996b5477f57f4faca4ba3a173bed2fdf0c359 /js/Events/IFTHEL_f.js | |
parent | 214ade87a6cef2bf55f9b9f2848ffafc02f37f18 (diff) | |
download | sci2js-6ee02952c836bb31e9b51783e6a16724fba64637.tar.gz sci2js-6ee02952c836bb31e9b51783e6a16724fba64637.tar.bz2 sci2js-6ee02952c836bb31e9b51783e6a16724fba64637.zip |
change in1 to in
Diffstat (limited to 'js/Events/IFTHEL_f.js')
-rw-r--r-- | js/Events/IFTHEL_f.js | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/js/Events/IFTHEL_f.js b/js/Events/IFTHEL_f.js index e489695e..952bbe7e 100644 --- a/js/Events/IFTHEL_f.js +++ b/js/Events/IFTHEL_f.js @@ -3,7 +3,7 @@ function IFTHEL_f() { IFTHEL_f.prototype.define = function IFTHEL_f() { this.model = scicos_model(); this.model.sim = list(new ScilabString(["ifthel"]), new ScilabDouble([-1])); - this.model.in1 = new ScilabDouble([1]); + this.model.in = new ScilabDouble([1]); this.model.in2 = new ScilabDouble([1]); this.model.intyp = new ScilabDouble([-1]); this.model.evtin = new ScilabDouble([1]); @@ -14,7 +14,7 @@ function IFTHEL_f() { this.model.nmode = new ScilabDouble([1]); this.model.nzcross = new ScilabDouble([1]); this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"IFTHEL_f\",sz(1),sz(2));"]); - this.exprs = [[string(this.model.in1)],[string(this.model.nmode)]]; + this.exprs = [[string(this.model.in)],[string(this.model.nmode)]]; this.x = standard_define([3,3],this.model,this.exprs,this.gr_i); return new BasicBlock(this.x); } @@ -32,10 +32,7 @@ function IFTHEL_f() { this.inh = inverse(arguments[0]["inh"]) this.nmod = parseFloat(arguments[0]["nmod"]) this.exprs = arguments[0]["exprs"] - this.x = arg1; - this.graphics = arg1.graphics; this.exprs = this.graphics.exprs; - this.model = arg1.model; if (this.exprs==[]) { this.exprs = string(1); } |