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/DLRADAPT_f.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'data_structures/DLRADAPT_f.js') diff --git a/data_structures/DLRADAPT_f.js b/data_structures/DLRADAPT_f.js index 0b420b7..08e7047 100644 --- a/data_structures/DLRADAPT_f.js +++ b/data_structures/DLRADAPT_f.js @@ -15,7 +15,7 @@ function DLRADAPT_f () { var model = scicos_model(); model.sim = new ScilabString(["dlradp"]); - model.in = new ScilabDouble([1],[1]); + model.in1 = new ScilabDouble([1],[1]); model.out = new ScilabDouble([1]); model.evtin = new ScilabDouble([1]); model.dstate = new ScilabDouble([last_u],[last_y]); @@ -29,4 +29,5 @@ function DLRADAPT_f () { var gr_i = []; this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) } -- cgit