summaryrefslogtreecommitdiff
path: root/js/Linear/SUMMATION.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Linear/SUMMATION.js')
-rw-r--r--js/Linear/SUMMATION.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Linear/SUMMATION.js b/js/Linear/SUMMATION.js
index 9967727b..6dcc14b0 100644
--- a/js/Linear/SUMMATION.js
+++ b/js/Linear/SUMMATION.js
@@ -13,7 +13,7 @@ function SUMMATION() {
this.model.dep_ut = new ScilabDouble([true,false]);
this.exprs = sci2exp(this.sgn);
this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"SUMMATION\",sz(1),sz(2));"]);
- this.x = standard_define([2,3],this.model,this.exprs,this.gr_i);
+ this.x = new standard_define(new ScilabDouble([2,3]),this.model,this.exprs,this.gr_i);
return new Summation(this.x);
}
SUMMATION.prototype.details = function SUMMATION() {