summaryrefslogtreecommitdiff
path: root/js/Sources/STEP_FUNCTION.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Sources/STEP_FUNCTION.js')
-rw-r--r--js/Sources/STEP_FUNCTION.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/js/Sources/STEP_FUNCTION.js b/js/Sources/STEP_FUNCTION.js
index 696ea445..74ab2e2a 100644
--- a/js/Sources/STEP_FUNCTION.js
+++ b/js/Sources/STEP_FUNCTION.js
@@ -23,7 +23,7 @@ function STEP_FUNCTION() {
graphics.orig = [80,10];
graphics.sz = [20,20];
graphics.exprs = ["1"];
- this.model.ipar = new ScilabDouble(1);
+ this.model.ipar = new ScilabDouble([1]);
graphics.pin = 3;
blk.graphics = graphics;
blk.model = this.model;
@@ -42,10 +42,10 @@ function STEP_FUNCTION() {
blk={};
lnk={};
this.model = scicos_model();
- this.model.sim = new ScilabString("csuper");
- this.model.out = new ScilabDouble(1);
- this.model.out2 = new ScilabDouble(1);
- this.model.outtyp = new ScilabDouble(1);
+ this.model.sim = new ScilabString(["csuper"]);
+ this.model.out = new ScilabDouble([1]);
+ this.model.out2 = new ScilabDouble([1]);
+ this.model.outtyp = new ScilabDouble([1]);
this.model.rpar = scs_m_1;
gr_i = [];
this.x = standard_define([2,2],this.model,[],gr_i);