summaryrefslogtreecommitdiff
path: root/js/Linear/INTEGRAL_f.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Linear/INTEGRAL_f.js')
-rw-r--r--js/Linear/INTEGRAL_f.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/js/Linear/INTEGRAL_f.js b/js/Linear/INTEGRAL_f.js
index 160d3620..8a543977 100644
--- a/js/Linear/INTEGRAL_f.js
+++ b/js/Linear/INTEGRAL_f.js
@@ -9,9 +9,9 @@ function INTEGRAL_f() {
this.model.state = new ScilabDouble([this.x0]);
this.model.blocktype = new ScilabString(["c"]);
this.model.dep_ut = new ScilabBoolean([false,true]);
- this.exprs = strcat(sci2exp(this.x0));
- this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"INTEGRAL_f\",sz(1),sz(2));"]);
- this.x = new standard_define(new ScilabDouble([2,2]),this.model,new ScilabDouble([this.exprs]),this.gr_i);
+ var exprs = strcat(sci2exp(this.x0));
+ var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"INTEGRAL_f\",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);
}
INTEGRAL_f.prototype.details = function INTEGRAL_f() {
@@ -24,14 +24,14 @@ function INTEGRAL_f() {
return options;
}
INTEGRAL_f.prototype.set = function INTEGRAL_f() {
- this.exprs = this.graphics.exprs;
+ var exprs = this.graphics.exprs;
while (true) {
var ok = true;
this.x0 = parseFloat(arguments[0]["x0"]);
if (!ok) {
break;
}
- this.graphics.exprs = new ScilabDouble([this.exprs]);
+ this.graphics.exprs = new ScilabDouble([exprs]);
this.model.state = new ScilabDouble([this.x0]);
this.x.graphics = this.graphics;
this.x.model = this.model;