summaryrefslogtreecommitdiff
path: root/js/IntegerOp/SRFLIPFLOP.js
diff options
context:
space:
mode:
authorSunil Shetye2018-08-27 14:38:26 +0530
committerSunil Shetye2018-08-27 16:43:40 +0530
commit8e6c876e5582928ab6909cf0f3529a97f622520d (patch)
tree3ce13a7e3552486771d147aec6973ff45a6024a5 /js/IntegerOp/SRFLIPFLOP.js
parent5cffbe3aa309e242255b96fe954688c6f1380811 (diff)
downloadsci2js-8e6c876e5582928ab6909cf0f3529a97f622520d.tar.gz
sci2js-8e6c876e5582928ab6909cf0f3529a97f622520d.tar.bz2
sci2js-8e6c876e5582928ab6909cf0f3529a97f622520d.zip
ignore first and last variable by index, not value
Diffstat (limited to 'js/IntegerOp/SRFLIPFLOP.js')
-rw-r--r--js/IntegerOp/SRFLIPFLOP.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/js/IntegerOp/SRFLIPFLOP.js b/js/IntegerOp/SRFLIPFLOP.js
index 5b694318..ace36bd6 100644
--- a/js/IntegerOp/SRFLIPFLOP.js
+++ b/js/IntegerOp/SRFLIPFLOP.js
@@ -54,7 +54,6 @@ function SRFLIPFLOP() {
while (true) {
var ok = true;
this.init = parseFloat(arguments[0]["init"]);
- this.exprs0 = arguments[0]["exprs0"];
if (!ok) {
break;
}
@@ -64,7 +63,7 @@ function SRFLIPFLOP() {
this.init = int8(1);
}
if (ok) {
- xx.graphics.exprs[1-1] = this.exprs0;
+ xx.graphics.exprs[1-1] = exprs0;
this.model.odstate[1-1] = new ScilabDouble([this.init]);
xx.model = this.model;
break;