summaryrefslogtreecommitdiff
path: root/js/NonLinear/LOOKUP_c.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/LOOKUP_c.js
parent079d0b4a3ec15a4d7d2644484d116df9d1c694bb (diff)
downloadsci2js-0047c3bea1d86b12a08544f6f0833c63e77f6eac.tar.gz
sci2js-0047c3bea1d86b12a08544f6f0833c63e77f6eac.tar.bz2
sci2js-0047c3bea1d86b12a08544f6f0833c63e77f6eac.zip
support vector also
Diffstat (limited to 'js/NonLinear/LOOKUP_c.js')
-rw-r--r--js/NonLinear/LOOKUP_c.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/NonLinear/LOOKUP_c.js b/js/NonLinear/LOOKUP_c.js
index 29655d2e..c569f4d7 100644
--- a/js/NonLinear/LOOKUP_c.js
+++ b/js/NonLinear/LOOKUP_c.js
@@ -17,9 +17,9 @@ function LOOKUP_c() {
this.model.rpar = new ScilabDouble([this.xx.slice()],[this.yy.slice()]);
this.model.ipar = new ScilabDouble([N],[this.Method],[0],[0]);
this.model.blocktype = new ScilabString(["c"]);
- this.model.dep_ut = [true,false];
- this.model.evtin = [];
- this.model.evtout = [];
+ this.model.dep_ut = new ScilabDouble([true,false]);
+ this.model.evtin = new ScilabDouble([]);
+ this.model.evtout = new ScilabDouble([]);
this.model.firing = new ScilabDouble([0]);
var exprs = [[sci2exp(this.Method)],[sci2exp(this.xx)],[sci2exp(this.yy)],[sci2exp(0)],[Graf]];
var gr_i = [];