summaryrefslogtreecommitdiff
path: root/js/IntegerOp/BITSET.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/IntegerOp/BITSET.js')
-rw-r--r--js/IntegerOp/BITSET.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/IntegerOp/BITSET.js b/js/IntegerOp/BITSET.js
index 75523ebe..75932e1c 100644
--- a/js/IntegerOp/BITSET.js
+++ b/js/IntegerOp/BITSET.js
@@ -12,7 +12,7 @@ while (true) {
if (!ok) {
break
}
-in1=[model.in,model.in2];
+in1=[model.in1,model.in2];
if (floor(bit)!=bit) {
block_parameter_error(msprintf(gettext("Wrong type for \'%s\' parameter: %5.1f."),gettext("Index of Bit"),bit),gettext("Must be integer."));
ok=None;
@@ -66,7 +66,7 @@ break
BITSET.prototype.define = function BITSET() {
model=scicos_model();
model.sim=list("bit_set_32",4);
-model.in=1;
+model.in1=1;
model.in2=1;
model.out=1;
model.out2=1;