From 0a3788d46553caffc5240d6010e5a8e1703c5aaf Mon Sep 17 00:00:00 2001 From: AMIT KUMAR YADAV Date: Tue, 21 Jun 2016 11:43:19 +0530 Subject: Fixed some edge cases --- data_structures/DLSS.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'data_structures/DLSS.js') diff --git a/data_structures/DLSS.js b/data_structures/DLSS.js index 9dbfc7b..e946ae2 100644 --- a/data_structures/DLSS.js +++ b/data_structures/DLSS.js @@ -12,8 +12,8 @@ function DLSS () { var D = 0; var model = scicos_model(); - model.sim=list("dsslti4",4); - model.in = new ScilabDouble([1]); + model.sim=list(new ScilabString(["dsslti4"]),new ScilabDouble([4])); + model.in1 = new ScilabDouble([1]); model.out = new ScilabDouble([1]); model.evtin = new ScilabDouble([1]); model.dstate=...x0; @@ -25,4 +25,5 @@ function DLSS () { var gr_i = []; this.x=new standard_define(new ScilabDouble([4,2]),model,exprs,gr_i); + return new BasicBlock(this.x) } -- cgit