diff options
author | Sunil Shetye | 2018-08-27 16:37:59 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-08-27 16:43:40 +0530 |
commit | 17a1beeeae647a6fbd0904a5d794ce7754df7eb2 (patch) | |
tree | 00fa7aa4da4ae6b663e4c294380b93c1b92af3eb /js/Branching/M_SWITCH.js | |
parent | 8e6c876e5582928ab6909cf0f3529a97f622520d (diff) | |
download | sci2js-17a1beeeae647a6fbd0904a5d794ce7754df7eb2.tar.gz sci2js-17a1beeeae647a6fbd0904a5d794ce7754df7eb2.tar.bz2 sci2js-17a1beeeae647a6fbd0904a5d794ce7754df7eb2.zip |
set the initial value of exprs
Diffstat (limited to 'js/Branching/M_SWITCH.js')
-rw-r--r-- | js/Branching/M_SWITCH.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/Branching/M_SWITCH.js b/js/Branching/M_SWITCH.js index d7551a94..b63c6311 100644 --- a/js/Branching/M_SWITCH.js +++ b/js/Branching/M_SWITCH.js @@ -34,6 +34,7 @@ function M_SWITCH() { this.nin = parseFloat(arguments[0]["nin"]); this.base = parseFloat(arguments[0]["base"]); this.rule = arguments[0]["rule"]; + var exprs = [arguments[0]["nin"], arguments[0]["base"], arguments[0]["rule"]]; if (!ok) { break; } |