summaryrefslogtreecommitdiff
path: root/js/NonLinear/LOOKUP2D.js
diff options
context:
space:
mode:
authorSunil Shetye2018-07-11 15:19:38 +0530
committerSunil Shetye2018-07-11 15:21:08 +0530
commit0047c3bea1d86b12a08544f6f0833c63e77f6eac (patch)
tree36fc72fa9e5ea73c64a44e061b2c9c80e0307884 /js/NonLinear/LOOKUP2D.js
parent079d0b4a3ec15a4d7d2644484d116df9d1c694bb (diff)
downloadsci2js-0047c3bea1d86b12a08544f6f0833c63e77f6eac.tar.gz
sci2js-0047c3bea1d86b12a08544f6f0833c63e77f6eac.tar.bz2
sci2js-0047c3bea1d86b12a08544f6f0833c63e77f6eac.zip
support vector also
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 1e615526..86705715 100644
--- a/js/NonLinear/LOOKUP2D.js
+++ b/js/NonLinear/LOOKUP2D.js
@@ -15,7 +15,7 @@ function LOOKUP2D() {
this.model.rpar = new ScilabDouble([this.xx.slice()],[this.yy.slice()],[this.zz.slice()]);
this.model.ipar = new ScilabDouble([Nx],[Ny],[this.Method]);
this.model.blocktype = new ScilabString(["c"]);
- this.model.dep_ut = [true,false];
+ this.model.dep_ut = new ScilabDouble([true,false]);
var exprs = list(strcat(sci2exp(this.xx)),strcat(sci2exp(this.yy)),strcat(sci2exp(this.zz)),sci2exp(this.Method),Graf);
var gr_i = [];
this.x = standard_define([2.5,2],this.model,exprs,gr_i);