diff options
author | Sunil Shetye | 2018-06-26 12:08:19 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-06-26 12:08:19 +0530 |
commit | afed64f1a0eab0b2d742088186d7bc340a2c895b (patch) | |
tree | 7270fd2e6c53e6df90c71e2fcbccd8149c3553a5 /js/NonLinear/LOOKUP2D.js | |
parent | 7465daea85285ba7f291b6bf6ddc45caa9e7ad65 (diff) | |
download | sci2js-afed64f1a0eab0b2d742088186d7bc340a2c895b.tar.gz sci2js-afed64f1a0eab0b2d742088186d7bc340a2c895b.tar.bz2 sci2js-afed64f1a0eab0b2d742088186d7bc340a2c895b.zip |
return block type in define and set
Diffstat (limited to 'js/NonLinear/LOOKUP2D.js')
-rw-r--r-- | js/NonLinear/LOOKUP2D.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/NonLinear/LOOKUP2D.js b/js/NonLinear/LOOKUP2D.js index 1c70c61a..9a741929 100644 --- a/js/NonLinear/LOOKUP2D.js +++ b/js/NonLinear/LOOKUP2D.js @@ -19,6 +19,7 @@ function LOOKUP2D() { exprs = list(strcat(sci2exp(xx)),strcat(sci2exp(yy)),strcat(sci2exp(zz)),sci2exp(Method),Graf); gr_i = []; this.x = standard_define([2.5,2],model,exprs,gr_i); + return new BasicBlock(this.x); } LOOKUP2D.prototype.details = function LOOKUP2D() { return this.x; @@ -95,5 +96,6 @@ function LOOKUP2D() { break; } } + return new BasicBlock(this.x); } } |