summaryrefslogtreecommitdiff
path: root/js/Misc/LOGICAL_OP.js
diff options
context:
space:
mode:
authorSunil Shetye2018-07-10 10:51:41 +0530
committerSunil Shetye2018-07-10 11:24:53 +0530
commite99608a59243936dfe2e5f3aaa81411df3847f18 (patch)
tree6f588a3371c84c158558836a90ba99fb7b6d3a7f /js/Misc/LOGICAL_OP.js
parent30c83c60e309a3b94d7bb7dcf5cfebd5db1884cb (diff)
downloadsci2js-e99608a59243936dfe2e5f3aaa81411df3847f18.tar.gz
sci2js-e99608a59243936dfe2e5f3aaa81411df3847f18.tar.bz2
sci2js-e99608a59243936dfe2e5f3aaa81411df3847f18.zip
allow expression in lterm
Diffstat (limited to 'js/Misc/LOGICAL_OP.js')
-rw-r--r--js/Misc/LOGICAL_OP.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/Misc/LOGICAL_OP.js b/js/Misc/LOGICAL_OP.js
index 1fc868cd..12f553df 100644
--- a/js/Misc/LOGICAL_OP.js
+++ b/js/Misc/LOGICAL_OP.js
@@ -93,10 +93,10 @@ function LOGICAL_OP() {
in1 = [-ones(this.nin,1),-2*ones(this.nin,1)];
if ((this.rule!=5)&&(this.nin==1)) {
out = [1,1];
- [model,graphics,ok] = set_io(this.model,graphics,list(in1,it),list(out,ot),[],[]);
+ [this.model,graphics,ok] = set_io(this.model,graphics,list(in1,it),list(out,ot),[],[]);
} else {
out = [-1,-2];
- [model,graphics,ok] = set_io(this.model,graphics,list(in1,it),list(out,ot),[],[]);
+ [this.model,graphics,ok] = set_io(this.model,graphics,list(in1,it),list(out,ot),[],[]);
}
}
if (ok) {