summaryrefslogtreecommitdiff
path: root/js/NonLinear/LOOKUP2D.js
diff options
context:
space:
mode:
authorSunil Shetye2018-07-11 12:04:43 +0530
committerSunil Shetye2018-07-11 15:21:08 +0530
commit0e9bc36f45fa1bb598c6ebb0febc1989439a8d98 (patch)
tree0073555bbbe06541d87607985a2c86e5bfa47311 /js/NonLinear/LOOKUP2D.js
parentaabd535925f24c6203eb1a0dcc5b28d9670133de (diff)
downloadsci2js-0e9bc36f45fa1bb598c6ebb0febc1989439a8d98.tar.gz
sci2js-0e9bc36f45fa1bb598c6ebb0febc1989439a8d98.tar.bz2
sci2js-0e9bc36f45fa1bb598c6ebb0febc1989439a8d98.zip
include in in modelvar
Diffstat (limited to 'js/NonLinear/LOOKUP2D.js')
-rw-r--r--js/NonLinear/LOOKUP2D.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/NonLinear/LOOKUP2D.js b/js/NonLinear/LOOKUP2D.js
index 30a3daab..8c50face 100644
--- a/js/NonLinear/LOOKUP2D.js
+++ b/js/NonLinear/LOOKUP2D.js
@@ -10,7 +10,7 @@ function LOOKUP2D() {
Nx = length(this.xx);
Ny = length(this.yy);
this.model.sim = list(new ScilabString(["lookup2d"]), new ScilabDouble([4]));
- this.model.in1 = [[1],[1]];
+ this.model.in1 = new ScilabDouble([1],[1]);
this.model.out = new ScilabDouble([1]);
this.model.rpar = new ScilabDouble([this.xx.slice()],[this.yy.slice()],[this.zz.slice()]);
this.model.ipar = new ScilabDouble([Nx],[Ny],[this.Method]);