summaryrefslogtreecommitdiff
path: root/js/Linear/DOLLAR_m.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Linear/DOLLAR_m.js')
-rw-r--r--js/Linear/DOLLAR_m.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/js/Linear/DOLLAR_m.js b/js/Linear/DOLLAR_m.js
index 2c0c4398..e3926dd6 100644
--- a/js/Linear/DOLLAR_m.js
+++ b/js/Linear/DOLLAR_m.js
@@ -7,7 +7,7 @@ function DOLLAR_m() {
this.exprs = string([[z],[this.inh]]);
this.model = scicos_model();
this.model.sim = list(new ScilabString(["dollar4"]), new ScilabDouble([4]));
- this.model.in1 = new ScilabDouble([in1]);
+ this.model.in = new ScilabDouble([in1]);
this.model.out = new ScilabDouble([in1]);
this.model.evtin = new ScilabDouble([1-this.inh]);
this.model.dstate = new ScilabDouble([z]);
@@ -31,10 +31,7 @@ function DOLLAR_m() {
this.a = arguments[0]["a"]
this.inh = parseFloat(arguments[0]["inh"])
this.exprs = arguments[0]["exprs"]
- this.x = arg1;
- this.graphics = arg1.graphics;
this.exprs = this.graphics.exprs;
- this.model = arg1.model;
if (size(this.exprs,"*")<2) {
this.exprs[2-1] = "0";
}