summaryrefslogtreecommitdiff
path: root/js/Misc/LOGICAL_OP.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Misc/LOGICAL_OP.js')
-rw-r--r--js/Misc/LOGICAL_OP.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Misc/LOGICAL_OP.js b/js/Misc/LOGICAL_OP.js
index 61f940f3..73feb47a 100644
--- a/js/Misc/LOGICAL_OP.js
+++ b/js/Misc/LOGICAL_OP.js
@@ -6,7 +6,7 @@ function LOGICAL_OP() {
this.nin = 2;
this.model = scicos_model();
this.model.sim = list(new ScilabString(["logicalop"]), new ScilabDouble([4]));
- this.model.in1 = in1;
+ this.model.in1 = new ScilabDouble(in1);
this.model.out = new ScilabDouble([-1]);
this.model.ipar = ipar;
this.model.blocktype = new ScilabString(["c"]);