summaryrefslogtreecommitdiff
path: root/js/IntegerOp/SHIFT.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/IntegerOp/SHIFT.js')
-rw-r--r--js/IntegerOp/SHIFT.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/IntegerOp/SHIFT.js b/js/IntegerOp/SHIFT.js
index f291982a..799bee21 100644
--- a/js/IntegerOp/SHIFT.js
+++ b/js/IntegerOp/SHIFT.js
@@ -12,7 +12,7 @@ function SHIFT() {
this.model.intyp = new ScilabDouble([3]);
this.model.outtyp = new ScilabDouble([3]);
this.model.rpar = [];
- this.model.ipar = sgn;
+ this.model.ipar = new ScilabDouble(sgn);
this.model.blocktype = new ScilabString(["c"]);
this.model.dep_ut = [true,false];
exprs = [[sci2exp(3)],[sci2exp(0)],[sci2exp(0)]];