summaryrefslogtreecommitdiff
path: root/js/Linear/DERIV.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Linear/DERIV.js')
-rw-r--r--js/Linear/DERIV.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/Linear/DERIV.js b/js/Linear/DERIV.js
index 45b2345e..55cc8833 100644
--- a/js/Linear/DERIV.js
+++ b/js/Linear/DERIV.js
@@ -7,9 +7,9 @@ function DERIV() {
this.model.out = new ScilabDouble([-1]);
this.model.blocktype = new ScilabString(["x"]);
this.model.dep_ut = new ScilabBoolean([true,false]);
- this.exprs = [];
- this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"DERIV\",sz(1),sz(2));"]);
- this.x = new standard_define(new ScilabDouble([2,2]),this.model,new ScilabDouble(this.exprs),this.gr_i);
+ var exprs = [];
+ var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"DERIV\",sz(1),sz(2));"]);
+ this.x = new standard_define(new ScilabDouble([2,2]),this.model,new ScilabDouble(exprs),gr_i);
return new BasicBlock(this.x);
}
DERIV.prototype.details = function DERIV() {