summaryrefslogtreecommitdiff
path: root/js/NonLinear/ABS_VALUE.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/NonLinear/ABS_VALUE.js')
-rw-r--r--js/NonLinear/ABS_VALUE.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/NonLinear/ABS_VALUE.js b/js/NonLinear/ABS_VALUE.js
index 01c6d20c..5b092794 100644
--- a/js/NonLinear/ABS_VALUE.js
+++ b/js/NonLinear/ABS_VALUE.js
@@ -12,7 +12,7 @@ function ABS_VALUE() {
this.model.dep_ut = new ScilabBoolean([true,false]);
this.exprs = [string([1])];
this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"ABS_VALUE\",sz(1),sz(2));"]);
- this.x = new standard_define(new ScilabDouble([2,2]),this.model,this.exprs,this.gr_i);
+ this.x = new standard_define(new ScilabDouble([2,2]),this.model,new ScilabString(this.exprs),this.gr_i);
return new BasicBlock(this.x);
}
ABS_VALUE.prototype.details = function ABS_VALUE() {