summaryrefslogtreecommitdiff
path: root/js/NonLinear/COSBLK_f.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/NonLinear/COSBLK_f.js')
-rw-r--r--js/NonLinear/COSBLK_f.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/NonLinear/COSBLK_f.js b/js/NonLinear/COSBLK_f.js
index 51a7c03f..1021f7be 100644
--- a/js/NonLinear/COSBLK_f.js
+++ b/js/NonLinear/COSBLK_f.js
@@ -8,8 +8,8 @@ function COSBLK_f() {
this.model.out = new ScilabDouble([-1]);
this.model.blocktype = new ScilabString(["c"]);
this.model.dep_ut = new ScilabBoolean([true,false]);
- this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"COSBLK_f\",sz(1),sz(2));"]);
- this.x = new standard_define(new ScilabDouble([2,2]),this.model,new ScilabDouble([]),this.gr_i);
+ var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"COSBLK_f\",sz(1),sz(2));"]);
+ this.x = new standard_define(new ScilabDouble([2,2]),this.model,new ScilabDouble([]),gr_i);
return new BasicBlock(this.x);
}
COSBLK_f.prototype.details = function COSBLK_f() {